Browse Source

test changes to handle windows systems better

git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@591040 13f79535-47bb-0310-9956-ffa450edef68
master
Steve Loughran 17 years ago
parent
commit
fbd52b8032
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      src/tests/junit/org/apache/tools/ant/launch/LocatorTest.java

+ 2
- 2
src/tests/junit/org/apache/tools/ant/launch/LocatorTest.java View File

@@ -146,9 +146,9 @@ public class LocatorTest extends TestCase {


public void testInternationalURI() throws Exception {
String result=assertResolves("L\\u00f6wenbrau.aus.M\\u00fcnchen");
String result=assertResolves("L\u00f6wenbrau.aus.M\u00fcnchen");
char umlauted = result.charAt(1);
assertEquals("expected 0xf6 (\\u00f6), but got "+Integer.toHexString(umlauted)+" '"+umlauted+"'",
assertEquals("expected 0xf6 (\u00f6), but got "+Integer.toHexString(umlauted)+" '"+umlauted+"'",
0xf6, umlauted);
}



Loading…
Cancel
Save