Fix indentation in test.

This commit is contained in:
Éamonn McManus 2023-08-01 13:49:59 -07:00
parent c8a9e15a57
commit b6ff0db984

View File

@ -2230,9 +2230,9 @@ public class JSONObjectTest {
String str = "{\"myKey\":true, \0\"myOtherKey\":false}";
assertNull("Expected an exception",new JSONObject(str));
} catch (JSONException e) {
assertEquals("Expecting an exception message",
"A JSONObject text must end with '}' at 15 [character 16 line 1]",
e.getMessage());
assertEquals("Expecting an exception message",
"A JSONObject text must end with '}' at 15 [character 16 line 1]",
e.getMessage());
}
try {
// append to wrong key