mirror of
https://github.com/stleary/JSON-java.git
synced 2025-08-03 11:25:30 -04:00
chore(#871-strictMode): corrected small syntax typo in unit test
This commit is contained in:
parent
c51efe8b08
commit
0ff368ca07
@ -36,10 +36,9 @@ public class JSONParserConfigurationTest {
|
|||||||
JSONParserConfiguration jsonParserConfiguration = new JSONParserConfiguration()
|
JSONParserConfiguration jsonParserConfiguration = new JSONParserConfiguration()
|
||||||
.withStrictMode(true);
|
.withStrictMode(true);
|
||||||
|
|
||||||
strictModeInputTestCases.forEach(testCase -> {
|
strictModeInputTestCases.forEach(
|
||||||
assertThrows("expected non-compliant array but got instead: " + testCase, JSONException.class,
|
testCase -> assertThrows("expected non-compliant array but got instead: " + testCase, JSONException.class,
|
||||||
() -> new JSONArray(testCase, jsonParserConfiguration));
|
() -> new JSONArray(testCase, jsonParserConfiguration)));
|
||||||
});
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
|
Loading…
x
Reference in New Issue
Block a user