(only allowed on AnchorURL)
@ -21,7 +21,7 @@ public class DigestURLTest extends TestCase {
String shouldBe = testStrings[i][1];
// conversion result
String resolvedURL = (new DigestURL(testStrings[i][0])).toString();
String resolvedURL = (new DigestURL(testStrings[i][0])).toNormalform(false);
// test if equal
assertEquals(shouldBe, resolvedURL);
@ -55,7 +55,7 @@ public class MultiProtocolURLTest {
String resolvedURL = "";
try {
resolvedURL = (new MultiProtocolURL(testhost + testStrings[i][0])).toString();
resolvedURL = (new MultiProtocolURL(testhost + testStrings[i][0])).toNormalform(false);
} catch (final MalformedURLException ex) {
fail("malformed URL");
}