commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From krosenv...@apache.org
Subject svn commit: r1721347 - /commons/proper/io/trunk/src/test/java/org/apache/commons/io/Java7SupportTest.java
Date Tue, 22 Dec 2015 11:08:31 GMT
Author: krosenvold
Date: Tue Dec 22 11:08:31 2015
New Revision: 1721347

URL: http://svn.apache.org/viewvc?rev=1721347&view=rev
Log:
Fixed case

Modified:
    commons/proper/io/trunk/src/test/java/org/apache/commons/io/Java7SupportTest.java

Modified: commons/proper/io/trunk/src/test/java/org/apache/commons/io/Java7SupportTest.java
URL: http://svn.apache.org/viewvc/commons/proper/io/trunk/src/test/java/org/apache/commons/io/Java7SupportTest.java?rev=1721347&r1=1721346&r2=1721347&view=diff
==============================================================================
--- commons/proper/io/trunk/src/test/java/org/apache/commons/io/Java7SupportTest.java (original)
+++ commons/proper/io/trunk/src/test/java/org/apache/commons/io/Java7SupportTest.java Tue
Dec 22 11:08:31 2015
@@ -22,6 +22,7 @@ import static org.junit.Assert.assertEqu
 import static org.junit.Assert.assertFalse;
 
 import java.io.File;
+import java.util.Locale;
 
 import org.junit.Assume;
 import org.junit.Test;
@@ -41,7 +42,7 @@ public class Java7SupportTest {
     public void createAndReadSymlink()
             throws Exception {
 
-        Assume.assumeFalse(System.getProperty("os.name").contains("windows"));
+        Assume.assumeFalse(System.getProperty("os.name").toLowerCase(Locale.ENGLISH).contains("windows"));
 
         File file = new File("target/fzz");
         if (Java7Support.isAtLeastJava7()) {



Mime
View raw message