Author: ggregory Date: Mon May 28 12:36:26 2012 New Revision: 1343227 URL: http://svn.apache.org/viewvc?rev=1343227&view=rev Log: Test does not correctly perform URL escaping.
Modified: commons/proper/betwixt/trunk/src/test/org/apache/commons/betwixt/AbstractTestCase.java Modified: commons/proper/betwixt/trunk/src/test/org/apache/commons/betwixt/AbstractTestCase.java URL: http://svn.apache.org/viewvc/commons/proper/betwixt/trunk/src/test/org/apache/commons/betwixt/AbstractTestCase.java?rev=1343227&r1=1343226&r2=1343227&view=diff ============================================================================== --- commons/proper/betwixt/trunk/src/test/org/apache/commons/betwixt/AbstractTestCase.java (original) +++ commons/proper/betwixt/trunk/src/test/org/apache/commons/betwixt/AbstractTestCase.java Mon May 28 12:36:26 2012 @@ -52,7 +52,7 @@ public abstract class AbstractTestCase e public String getTestFileURL(String path) throws MalformedURLException { - return new File(basedir,path).toURL().toString(); + return new File(basedir,path).toURI().toURL().toString(); } protected Object createBean() {