mirror of
https://github.com/stleary/JSON-java.git
synced 2025-08-02 11:05:28 -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()
|
||||
.withStrictMode(true);
|
||||
|
||||
strictModeInputTestCases.forEach(testCase -> {
|
||||
assertThrows("expected non-compliant array but got instead: " + testCase, JSONException.class,
|
||||
() -> new JSONArray(testCase, jsonParserConfiguration));
|
||||
});
|
||||
strictModeInputTestCases.forEach(
|
||||
testCase -> assertThrows("expected non-compliant array but got instead: " + testCase, JSONException.class,
|
||||
() -> new JSONArray(testCase, jsonParserConfiguration)));
|
||||
}
|
||||
|
||||
@Test
|
||||
|
Loading…
x
Reference in New Issue
Block a user