Skip to content
Snippets Groups Projects
Commit 635da9dc authored by stepan's avatar stepan
Browse files

IgnoreOS trait fix: use lowercase to be more robust

parent 485d46c9
Branches
No related tags found
No related merge requests found
...@@ -44,7 +44,7 @@ public enum IgnoreOS implements TestTrait { ...@@ -44,7 +44,7 @@ public enum IgnoreOS implements TestTrait {
private boolean isIgnoring() { private boolean isIgnoring() {
String current = System.getProperty("os.name"); String current = System.getProperty("os.name");
return current != null && current.contains(osName); return current != null && current.toLowerCase().contains(osName);
} }
@Override @Override
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment