mirror of
https://github.com/ethauvin/JSON-java.git
synced 2025-06-18 08:20:52 -07:00
More test corrections for correct position reports in error messages
This commit is contained in:
parent
971614ac8b
commit
0e612ba8a4
7 changed files with 92 additions and 77 deletions
|
@ -103,7 +103,7 @@ public class XMLTest {
|
|||
fail("Expecting a JSONException");
|
||||
} catch (JSONException e) {
|
||||
assertEquals("Expecting an exception message",
|
||||
"Misshaped meta tag at 215 [character 13 line 7]",
|
||||
"Misshaped meta tag at 214 [character 12 line 7]",
|
||||
e.getMessage());
|
||||
}
|
||||
}
|
||||
|
@ -128,7 +128,7 @@ public class XMLTest {
|
|||
fail("Expecting a JSONException");
|
||||
} catch (JSONException e) {
|
||||
assertEquals("Expecting an exception message",
|
||||
"Misshaped meta tag at 214 [character 13 line 7]",
|
||||
"Misshaped meta tag at 213 [character 12 line 7]",
|
||||
e.getMessage());
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue