fixed tests when there are spaces in directory name

git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/trunk@645086 13f79535-47bb-0310-9956-ffa450edef68
master
Herve Boutemy 2008-04-05 13:01:28 +00:00
parent b7ef019ea8
commit dac53b5855
1 changed files with 1 additions and 1 deletions

View File

@ -40,7 +40,7 @@ public class TestUtils
ClassLoader cl = Thread.currentThread().getContextClassLoader();
URL resource = cl.getResource( classname );
assertEquals( resource.getPath(), basedir + classname );
assertEquals( URLDecoder.decode( resource.getPath(), "UTF-8" ), basedir + classname );
}
public static String dirname( String file ) throws UnsupportedEncodingException