From a285ea0781ca7e5ab11617fe1438a8a4b65300de Mon Sep 17 00:00:00 2001 From: Bartek Kryza Date: Thu, 29 Jul 2021 19:19:54 +0200 Subject: [PATCH] Fixed formatting --- src/uml/class_diagram_model.h | 2 +- src/uml/decorators.cc | 1 - src/uml/decorators.h | 1 - tests/t00028/t00028.cc | 8 ++------ tests/test_cases.h | 5 ++--- 5 files changed, 5 insertions(+), 12 deletions(-) diff --git a/src/uml/class_diagram_model.h b/src/uml/class_diagram_model.h index 014eb9f6..cf3cadd5 100644 --- a/src/uml/class_diagram_model.h +++ b/src/uml/class_diagram_model.h @@ -17,9 +17,9 @@ */ #pragma once +#include "decorators.h" #include "util/error.h" #include "util/util.h" -#include "decorators.h" #include #include diff --git a/src/uml/decorators.cc b/src/uml/decorators.cc index a50d9128..ea358d1d 100644 --- a/src/uml/decorators.cc +++ b/src/uml/decorators.cc @@ -169,4 +169,3 @@ std::vector> parse(std::string documentation_block) } // namespace decorators } // namespace clanguml - diff --git a/src/uml/decorators.h b/src/uml/decorators.h index 2ffac0b6..c93a62fb 100644 --- a/src/uml/decorators.h +++ b/src/uml/decorators.h @@ -69,4 +69,3 @@ std::vector> parse(std::string documentation_block); } // namespace decorators } // namespace clanguml - diff --git a/tests/t00028/t00028.cc b/tests/t00028/t00028.cc index 4d343e6a..ceb9d9c3 100644 --- a/tests/t00028/t00028.cc +++ b/tests/t00028/t00028.cc @@ -26,16 +26,12 @@ class D { }; /// \clanguml{note E template class note.} -template class E { +template class E { T param; }; /// @clanguml{note[ bottom ] F enum note.} -enum class F { - one, - two, - three -}; +enum class F { one, two, three }; /// \clanguml{note[right] R class note.} class R { diff --git a/tests/test_cases.h b/tests/test_cases.h index 630a9abd..6c7d89ef 100644 --- a/tests/test_cases.h +++ b/tests/test_cases.h @@ -266,9 +266,8 @@ ContainsMatcher HasNote(std::string const &cls, std::string const &position, std::string const ¬e, CaseSensitive::Choice caseSensitivity = CaseSensitive::Yes) { - return ContainsMatcher( - CasedString(fmt::format("note {} of {}", position, cls), - caseSensitivity)); + return ContainsMatcher(CasedString( + fmt::format("note {} of {}", position, cls), caseSensitivity)); } template