From bf6210a602d55da87c1e4023f089bf2f6d2640a9 Mon Sep 17 00:00:00 2001 From: Bartek Kryza Date: Sun, 29 Aug 2021 23:07:43 +0200 Subject: [PATCH] Fixed nested template test cases t00033 --- tests/t00033/test_case.h | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/tests/t00033/test_case.h b/tests/t00033/test_case.h index a1f3bbec..5d33b085 100644 --- a/tests/t00033/test_case.h +++ b/tests/t00033/test_case.h @@ -48,13 +48,18 @@ TEST_CASE("t00033", "[test-case][class]") REQUIRE_THAT(puml, IsClass(_A("D"))); REQUIRE_THAT(puml, IsClass(_A("R"))); - REQUIRE_THAT(puml, IsDependency(_A("A>>"), _A("B>"))); - REQUIRE_THAT(puml, IsDependency(_A("B>"), _A("C"))); + REQUIRE_THAT(puml, + IsDependency( + _A("A>>>"), _A("B>>"))); + REQUIRE_THAT( + puml, IsDependency(_A("B>>"), _A("C"))); REQUIRE_THAT(puml, IsDependency(_A("C"), _A("D"))); REQUIRE_THAT(puml, IsInstantiation(_A("C"), _A("C"))); - REQUIRE_THAT(puml, IsInstantiation(_A("B"), _A("B>"))); - REQUIRE_THAT(puml, IsInstantiation(_A("A"), _A("A>>"))); + REQUIRE_THAT( + puml, IsInstantiation(_A("B"), _A("B>>"))); + REQUIRE_THAT( + puml, IsInstantiation(_A("A"), _A("A>>>"))); save_puml( "./" + config.output_directory + "/" + diagram->name + ".puml", puml);