mirror of
https://github.com/fankes/JSON-java-compat.git
synced 2025-09-07 03:06:03 +08:00
chore(#871-strictMode): fix small spacing typo
This commit is contained in:
@@ -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"));
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user