You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by oh...@apache.org on 2015/06/17 21:41:15 UTC

svn commit: r1686103 - /commons/proper/configuration/trunk/src/test/java/org/apache/commons/configuration2/io/TestDefaultFileSystem.java

Author: oheger
Date: Wed Jun 17 19:41:14 2015
New Revision: 1686103

URL: http://svn.apache.org/r1686103
Log:
Fixed a test case that could fail in specific environments.

Thanks to Bruno P. Kinoshita for the proposed fix.

Modified:
    commons/proper/configuration/trunk/src/test/java/org/apache/commons/configuration2/io/TestDefaultFileSystem.java

Modified: commons/proper/configuration/trunk/src/test/java/org/apache/commons/configuration2/io/TestDefaultFileSystem.java
URL: http://svn.apache.org/viewvc/commons/proper/configuration/trunk/src/test/java/org/apache/commons/configuration2/io/TestDefaultFileSystem.java?rev=1686103&r1=1686102&r2=1686103&view=diff
==============================================================================
--- commons/proper/configuration/trunk/src/test/java/org/apache/commons/configuration2/io/TestDefaultFileSystem.java (original)
+++ commons/proper/configuration/trunk/src/test/java/org/apache/commons/configuration2/io/TestDefaultFileSystem.java Wed Jun 17 19:41:14 2015
@@ -74,6 +74,6 @@ public class TestDefaultFileSystem
     @Test(expected = ConfigurationException.class)
     public void testGetOutputStreamInvalidPath() throws ConfigurationException
     {
-        fileSystem.getOutputStream(new File("this is/<certainly>\\an#invalid#*path!"));
+        fileSystem.getOutputStream(new File(""));
     }
 }