Skip to content

Commit 22a39cb

Browse files
committed
Fixed case
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/io/trunk@1721347 13f79535-47bb-0310-9956-ffa450edef68
1 parent 718b2bf commit 22a39cb

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

src/test/java/org/apache/commons/io/Java7SupportTest.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@
2222
import static org.junit.Assert.assertFalse;
2323

2424
import java.io.File;
25+
import java.util.Locale;
2526

2627
import org.junit.Assume;
2728
import org.junit.Test;
@@ -41,7 +42,7 @@ public void testIsSymLink()
4142
public void createAndReadSymlink()
4243
throws Exception {
4344

44-
Assume.assumeFalse(System.getProperty("os.name").contains("windows"));
45+
Assume.assumeFalse(System.getProperty("os.name").toLowerCase(Locale.ENGLISH).contains("windows"));
4546

4647
File file = new File("target/fzz");
4748
if (Java7Support.isAtLeastJava7()) {

0 commit comments

Comments
 (0)