Test should work on Windows again

This commit is contained in:
Arjen Poutsma
2008-09-02 10:40:47 +00:00
parent 7d0cc9e5c9
commit b004eea1ab

View File

@@ -27,6 +27,6 @@ public class SaxUtilsTest extends TestCase {
Resource resource = new FileSystemResource("/path with spaces/file with spaces.txt");
String systemId = SaxUtils.getSystemId(resource);
assertNotNull("No systemId returned", systemId);
assertEquals("Invalid system id", "file:/path%20with%20spaces/file%20with%20spaces.txt", systemId);
assertTrue("Invalid system id", systemId.endsWith("path%20with%20spaces/file%20with%20spaces.txt"));
}
}