mirror of
https://github.com/stleary/JSON-java.git
synced 2025-08-03 03:15:32 -04:00
chore(#871-strictMode): fix small spacing typo
This commit is contained in:
parent
d335447ab4
commit
49de92224d
@ -23,7 +23,7 @@ public class JSONParserConfigurationTest {
|
|||||||
@Test
|
@Test
|
||||||
public void testOverwrite() {
|
public void testOverwrite() {
|
||||||
JSONObject jsonObject = new JSONObject(TEST_SOURCE,
|
JSONObject jsonObject = new JSONObject(TEST_SOURCE,
|
||||||
new JSONParserConfiguration().withOverwriteDuplicateKey(true));
|
new JSONParserConfiguration().withOverwriteDuplicateKey(true));
|
||||||
|
|
||||||
assertEquals("duplicate key should be overwritten", "value2", jsonObject.getString("key"));
|
assertEquals("duplicate key should be overwritten", "value2", jsonObject.getString("key"));
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user