Fixed test case with template class sequence diagram

This commit is contained in:
Bartek Kryza
2022-11-13 14:29:32 +01:00
parent a1e447966d
commit f3aec40b2a
5 changed files with 15 additions and 30 deletions

View File

@@ -34,12 +34,10 @@ TEST_CASE("t20005", "[test-case][sequence]")
REQUIRE_THAT(puml, StartsWith("@startuml"));
REQUIRE_THAT(puml, EndsWith("@enduml\n"));
// Check if all calls exist
REQUIRE_THAT(puml, HasCall(_A("C<T>"), _A("B<T>"), "b"));
REQUIRE_THAT(puml, HasCall(_A("B<T>"), _A("A<T>"), "a"));
save_puml(
"./" + config.output_directory() + "/" + diagram->name + ".puml", puml);
}