mirror of
https://github.com/fankes/JSON-java-compat.git
synced 2025-09-07 03:06:03 +08:00
fix expected exception message
This commit is contained in:
@@ -98,7 +98,7 @@ public class JSONMLTest {
|
|||||||
fail("Expecting an exception");
|
fail("Expecting an exception");
|
||||||
} catch (JSONException e) {
|
} catch (JSONException e) {
|
||||||
assertEquals("Expecting an exception message",
|
assertEquals("Expecting an exception message",
|
||||||
"Bad XML at 23 [character 24 line 1]",
|
"Bad XML at 24 [character 25 line 1]",
|
||||||
e.getMessage());
|
e.getMessage());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user