Skip to content

Commit bde6ba1

Browse files
committed
Updates exception expected message
1 parent 52ecc89 commit bde6ba1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/test/java/org/json/junit/JSONArrayTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ public void unclosedArray() {
9090
assertNull("Should throw an exception", new JSONArray("["));
9191
} catch (JSONException e) {
9292
assertEquals("Expected an exception message",
93-
"A JSONArray text must start with '[' at 0 [character 1 line 1]",
93+
"Expected a ',' or ']' at 1 [character 2 line 1]",
9494
e.getMessage());
9595
}
9696
}

0 commit comments

Comments
 (0)