Skip to content

Commit af1a2da

Browse files
authored
Merge pull request #156 from com-pas/155_Fix_Windows_Test
fix: check for correct OS name
2 parents ab31ea5 + 6eeaf28 commit af1a2da

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

riseclipse/validator-riseclipse/src/test/java/org/lfenergy/compas/scl/validator/impl/OclFileLoaderTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ void constructor_WhenCalledWithUnCreatableTempFile_ThenExceptionThrown() {
7474
}
7575

7676
private boolean isWindows() {
77-
return System.getProperty("os.name").contains("win");
77+
return System.getProperty("os.name").toLowerCase().contains("win");
7878
}
7979

8080
@Test

0 commit comments

Comments
 (0)