mirror of
https://github.com/stleary/JSON-java.git
synced 2025-08-03 03:15:32 -04:00
Fix indentation in test.
This commit is contained in:
parent
c8a9e15a57
commit
b6ff0db984
@ -2230,9 +2230,9 @@ public class JSONObjectTest {
|
|||||||
String str = "{\"myKey\":true, \0\"myOtherKey\":false}";
|
String str = "{\"myKey\":true, \0\"myOtherKey\":false}";
|
||||||
assertNull("Expected an exception",new JSONObject(str));
|
assertNull("Expected an exception",new JSONObject(str));
|
||||||
} catch (JSONException e) {
|
} catch (JSONException e) {
|
||||||
assertEquals("Expecting an exception message",
|
assertEquals("Expecting an exception message",
|
||||||
"A JSONObject text must end with '}' at 15 [character 16 line 1]",
|
"A JSONObject text must end with '}' at 15 [character 16 line 1]",
|
||||||
e.getMessage());
|
e.getMessage());
|
||||||
}
|
}
|
||||||
try {
|
try {
|
||||||
// append to wrong key
|
// append to wrong key
|
||||||
|
Loading…
x
Reference in New Issue
Block a user