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
No related branches found
No related tags found
No related merge requests found
......@@ -44,7 +44,7 @@ public enum IgnoreOS implements TestTrait {
private boolean isIgnoring() {
String current = System.getProperty("os.name");
return current != null && current.contains(osName);
return current != null && current.toLowerCase().contains(osName);
}
@Override
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment