Skip to content

Commit

Permalink
fix platform lookup for windows_nt
Browse files Browse the repository at this point in the history
  • Loading branch information
cproof committed Dec 6, 2023
1 parent f130d9c commit b3fe8d5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/at/rtr/rmbt/enums/TestPlatform.java
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ public static TestPlatform forValue(String value) {
return valueOf(value.toUpperCase());
} catch (IllegalArgumentException e) { // if value not found by name - try find by label
for (TestPlatform testPlatform : values()) {
if (testPlatform.label.equals(value))
if (testPlatform.label.toUpperCase().equals(value.toUpperCase()))
return testPlatform;
}
}
Expand Down

0 comments on commit b3fe8d5

Please sign in to comment.