From b004eea1ab855c9ab90a7ea18c43f354d862989a Mon Sep 17 00:00:00 2001 From: Arjen Poutsma Date: Tue, 2 Sep 2008 10:40:47 +0000 Subject: [PATCH] Test should work on Windows again --- xml/src/test/java/org/springframework/xml/sax/SaxUtilsTest.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xml/src/test/java/org/springframework/xml/sax/SaxUtilsTest.java b/xml/src/test/java/org/springframework/xml/sax/SaxUtilsTest.java index 00f5032f..43f8a1fe 100644 --- a/xml/src/test/java/org/springframework/xml/sax/SaxUtilsTest.java +++ b/xml/src/test/java/org/springframework/xml/sax/SaxUtilsTest.java @@ -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")); } } \ No newline at end of file