commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From d...@apache.org
Subject svn commit: r589285 - /commons/proper/jexl/branches/2.0/src/test/org/apache/commons/jexl/ScriptTest.java
Date Sun, 28 Oct 2007 08:01:42 GMT
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);



Mime
View raw message