Fixing the toLowerCase locale as we're looking for english text as per LANG-432
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@655255 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/src/test/org/apache/commons/lang/SystemUtilsTest.java b/src/test/org/apache/commons/lang/SystemUtilsTest.java
index 40d9a06..fd3907a 100644
--- a/src/test/org/apache/commons/lang/SystemUtilsTest.java
+++ b/src/test/org/apache/commons/lang/SystemUtilsTest.java
@@ -22,6 +22,7 @@
import java.io.File;
import java.lang.reflect.Constructor;
import java.lang.reflect.Modifier;
+import java.util.Locale;
import junit.framework.Assert;
import junit.framework.Test;
@@ -312,7 +313,7 @@
assertEquals(true, SystemUtils.IS_OS_SOLARIS);
assertEquals(true, SystemUtils.IS_OS_UNIX);
assertEquals(false, SystemUtils.IS_OS_WINDOWS);
- } else if (osName.toLowerCase().startsWith("linux")) {
+ } else if (osName.toLowerCase(Locale.ENGLISH).startsWith("linux")) {
assertEquals(true, SystemUtils.IS_OS_LINUX);
assertEquals(true, SystemUtils.IS_OS_UNIX);
assertEquals(false, SystemUtils.IS_OS_WINDOWS);