diff --git a/cli/src/test/java/com/devonfw/tools/ide/commandlet/VersionSetCommandletTest.java b/cli/src/test/java/com/devonfw/tools/ide/commandlet/VersionSetCommandletTest.java index f6ccfb1bd..c850a0853 100644 --- a/cli/src/test/java/com/devonfw/tools/ide/commandlet/VersionSetCommandletTest.java +++ b/cli/src/test/java/com/devonfw/tools/ide/commandlet/VersionSetCommandletTest.java @@ -27,7 +27,7 @@ public void testVersionSetCommandletRun() { versionSet.run(); //assert try { - assertThat(Files.readAllLines(context.getSettingsPath().resolve("ide.properties")).contains("MVN_VERSION=3.1.0")); + assertThat(Files.readAllLines(context.getSettingsPath().resolve("ide.properties"))).contains("MVN_VERSION=3.1.0"); } catch (IOException e) { fail("no ide.properties was found"); }