commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ohe...@apache.org
Subject svn commit: r1505202 - /commons/proper/configuration/trunk/src/test/java/org/apache/commons/configuration/TestINIConfiguration.java
Date Sat, 20 Jul 2013 20:38:02 GMT
Author: oheger
Date: Sat Jul 20 20:38:02 2013
New Revision: 1505202

URL: http://svn.apache.org/r1505202
Log:
Fixed a test case which was failing under Linux.

Modified:
    commons/proper/configuration/trunk/src/test/java/org/apache/commons/configuration/TestINIConfiguration.java

Modified: commons/proper/configuration/trunk/src/test/java/org/apache/commons/configuration/TestINIConfiguration.java
URL: http://svn.apache.org/viewvc/commons/proper/configuration/trunk/src/test/java/org/apache/commons/configuration/TestINIConfiguration.java?rev=1505202&r1=1505201&r2=1505202&view=diff
==============================================================================
--- commons/proper/configuration/trunk/src/test/java/org/apache/commons/configuration/TestINIConfiguration.java
(original)
+++ commons/proper/configuration/trunk/src/test/java/org/apache/commons/configuration/TestINIConfiguration.java
Sat Jul 20 20:38:02 2013
@@ -258,7 +258,7 @@ public class TestINIConfiguration
     {
         INIConfiguration config = new INIConfiguration();
         String data =
-                INI_DATA.substring(0, INI_DATA.length() - 2)
+                INI_DATA.substring(0, INI_DATA.length() - LINE_SEPARATOR.length())
                         + "nolist = 1,2, 3";
         load(config, data);
         assertEquals("Wrong property value", "1,2, 3",



Mime
View raw message