1
0
Fork 0
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:
John J. Aylward 2017-10-30 07:41:11 -04:00
parent 52ecc89702
commit bde6ba1c52

View file

@ -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());
} }
} }