mirror of
https://github.com/stleary/JSON-java.git
synced 2025-08-03 03:15:32 -04:00
fix expected exception message
This commit is contained in:
parent
3081b4bd96
commit
971614ac8b
@ -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());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user