Fixed formatting
This commit is contained in:
@@ -96,7 +96,8 @@ void class_::add_type_alias(type_alias &&ta)
|
||||
type_aliases_[ta.alias()] = std::move(ta);
|
||||
}
|
||||
|
||||
std::string class_::full_name_no_ns() const {
|
||||
std::string class_::full_name_no_ns() const
|
||||
{
|
||||
using namespace clanguml::util;
|
||||
|
||||
std::ostringstream ostr;
|
||||
|
||||
@@ -74,8 +74,7 @@ public:
|
||||
bool is_abstract() const;
|
||||
|
||||
private:
|
||||
std::ostringstream &render_template_params(
|
||||
std::ostringstream &ostr) const;
|
||||
std::ostringstream &render_template_params(std::ostringstream &ostr) const;
|
||||
|
||||
bool is_struct_{false};
|
||||
bool is_template_{false};
|
||||
|
||||
@@ -3,10 +3,7 @@ namespace t00036 {
|
||||
|
||||
namespace ns1 {
|
||||
|
||||
enum class E {
|
||||
blue,
|
||||
yellow
|
||||
};
|
||||
enum class E { blue, yellow };
|
||||
|
||||
namespace ns11 {
|
||||
|
||||
|
||||
@@ -43,8 +43,7 @@ TEST_CASE("t00036", "[test-case][class]")
|
||||
REQUIRE_THAT(puml, IsPackage("ns111"));
|
||||
REQUIRE_THAT(puml, IsPackage("ns22"));
|
||||
|
||||
REQUIRE_THAT(
|
||||
puml, IsAggregation(_A("B"), _A("A<int>"), "+a_int"));
|
||||
REQUIRE_THAT(puml, IsAggregation(_A("B"), _A("A<int>"), "+a_int"));
|
||||
|
||||
save_puml(
|
||||
"./" + config.output_directory() + "/" + diagram->name + ".puml", puml);
|
||||
|
||||
Reference in New Issue
Block a user