Skip to content

Commit

Permalink
#5 fixed order of assert
Browse files Browse the repository at this point in the history
  • Loading branch information
moritzLanger authored Oct 9, 2023
1 parent f6db5c6 commit c841287
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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");
}
Expand Down

0 comments on commit c841287

Please sign in to comment.