mirror of
https://github.com/ethauvin/JSON-java.git
synced 2025-06-17 16:00:51 -07:00
Updates exception expected message
This commit is contained in:
parent
52ecc89702
commit
bde6ba1c52
1 changed files with 1 additions and 1 deletions
|
@ -90,7 +90,7 @@ public class JSONArrayTest {
|
||||||
assertNull("Should throw an exception", new JSONArray("["));
|
assertNull("Should throw an exception", new JSONArray("["));
|
||||||
} catch (JSONException e) {
|
} catch (JSONException e) {
|
||||||
assertEquals("Expected an exception message",
|
assertEquals("Expected an exception message",
|
||||||
"A JSONArray text must start with '[' at 0 [character 1 line 1]",
|
"Expected a ',' or ']' at 1 [character 2 line 1]",
|
||||||
e.getMessage());
|
e.getMessage());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue