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-ffa450edef68master
parent
b7ef019ea8
commit
dac53b5855
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue