From ee43dd0b9900510eccce72c73c13449ddc9665c7 Mon Sep 17 00:00:00 2001 From: Arnaud Roques Date: Fri, 16 Feb 2024 22:10:07 +0100 Subject: [PATCH] chore: fix some tests on Windows --- test/net/sourceforge/plantuml/help/CommandHelpThemeTest.java | 2 +- test/test/example/TestExample.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/test/net/sourceforge/plantuml/help/CommandHelpThemeTest.java b/test/net/sourceforge/plantuml/help/CommandHelpThemeTest.java index 180522880..caef807b6 100644 --- a/test/net/sourceforge/plantuml/help/CommandHelpThemeTest.java +++ b/test/net/sourceforge/plantuml/help/CommandHelpThemeTest.java @@ -17,7 +17,7 @@ class CommandHelpThemeTest { ).asString(); assertThat(output) - .startsWith(" \nHelp on themes") + .contains("Help on themes") .contains("bluegray", "hacker"); } } \ No newline at end of file diff --git a/test/test/example/TestExample.java b/test/test/example/TestExample.java index 1fc15a8d4..eeedbb088 100644 --- a/test/test/example/TestExample.java +++ b/test/test/example/TestExample.java @@ -17,7 +17,7 @@ class TestExample { ).asString(); assertThat(output) - .startsWith(" \nHelp on themes") + .contains("Help on themes") .contains("bluegray", "hacker"); } } \ No newline at end of file