You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by di...@apache.org on 2007/10/28 09:01:42 UTC
svn commit: r589285 -
/commons/proper/jexl/branches/2.0/src/test/org/apache/commons/jexl/ScriptTest.java
Author: dion
Date: Sun Oct 28 01:01:41 2007
New Revision: 589285
URL: http://svn.apache.org/viewvc?rev=589285&view=rev
Log:
cleanup
Modified:
commons/proper/jexl/branches/2.0/src/test/org/apache/commons/jexl/ScriptTest.java
Modified: commons/proper/jexl/branches/2.0/src/test/org/apache/commons/jexl/ScriptTest.java
URL: http://svn.apache.org/viewvc/commons/proper/jexl/branches/2.0/src/test/org/apache/commons/jexl/ScriptTest.java?rev=589285&r1=589284&r2=589285&view=diff
==============================================================================
--- commons/proper/jexl/branches/2.0/src/test/org/apache/commons/jexl/ScriptTest.java (original)
+++ commons/proper/jexl/branches/2.0/src/test/org/apache/commons/jexl/ScriptTest.java Sun Oct 28 01:01:41 2007
@@ -74,7 +74,7 @@
}
public void testScriptFromURL() throws Exception {
- URL testUrl = new File("src/test-scripts/test1.jexl").toURL();
+ URL testUrl = new File("src/test-scripts/test1.jexl").toURI().toURL();
Script s = ScriptFactory.createScript(testUrl);
JexlContext jc = JexlHelper.createContext();
jc.getVars().put("out", System.out);