Fixed nested class namespace rendering

This commit is contained in:
Bartek Kryza
2021-02-26 21:39:55 +01:00
parent 1a4cf87ea2
commit 0abc6296b3
3 changed files with 30 additions and 4 deletions

View File

@@ -255,9 +255,9 @@ TEST_CASE("Test t00004", "[unit-test]")
REQUIRE_THAT(puml, StartsWith("@startuml"));
REQUIRE_THAT(puml, EndsWith("@enduml\n"));
REQUIRE_THAT(puml, Contains("class A"));
REQUIRE_THAT(puml, Contains("A +-- A::AA"));
REQUIRE_THAT(puml, Contains("A::AA +-- A::AA::AAA"));
REQUIRE_THAT(puml, Contains("A::AA +-- A::AA::Lights"));
REQUIRE_THAT(puml, Contains("A +-- AA"));
REQUIRE_THAT(puml, Contains("AA +-- AAA"));
REQUIRE_THAT(puml, Contains("AA +-- Lights"));
save_puml(
"./" + config.output_directory + "/" + diagram->name + ".puml", puml);