Skip to content

Commit

Permalink
Fix test for windows
Browse files Browse the repository at this point in the history
  • Loading branch information
kaklakariada committed Feb 8, 2024
1 parent 8d24d1b commit aa9f7f3
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -69,8 +69,9 @@ void incrementProjectVersionFailsForInconsistentVersionInPom() {

final IllegalStateException exception = assertThrows(IllegalStateException.class,
testee::incrementProjectVersion);
assertThat(exception.getMessage(), startsWith(
"E-PK-CORE-174: Inconsistent project version '1.2.2' found in pom 'ProjectDir/pom.xml', expected '1.2.3'."));
assertThat(exception.getMessage(),
startsWith("E-PK-CORE-174: Inconsistent project version '1.2.2' found in pom '" + POM_PATH
+ "', expected '1.2.3'."));
}

@ParameterizedTest
Expand Down

0 comments on commit aa9f7f3

Please sign in to comment.