We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 52ecc89 commit bde6ba1Copy full SHA for bde6ba1
src/test/java/org/json/junit/JSONArrayTest.java
@@ -90,7 +90,7 @@ public void unclosedArray() {
90
assertNull("Should throw an exception", new JSONArray("["));
91
} catch (JSONException e) {
92
assertEquals("Expected an exception message",
93
- "A JSONArray text must start with '[' at 0 [character 1 line 1]",
+ "Expected a ',' or ']' at 1 [character 2 line 1]",
94
e.getMessage());
95
}
96
0 commit comments