mirror of
https://github.com/fankes/JSON-java-compat.git
synced 2025-09-06 02:35:33 +08:00
force strict mode to expose failing tests
This commit is contained in:
@@ -28,6 +28,10 @@ public class JSONParserConfiguration extends ParserConfiguration {
|
|||||||
*/
|
*/
|
||||||
public JSONParserConfiguration() {
|
public JSONParserConfiguration() {
|
||||||
super();
|
super();
|
||||||
|
// TODO: Force strict mode to true, unless otherwise set by .withStrictMode()
|
||||||
|
// This will be replaced with a later change that executes test runs with and without strict mode.
|
||||||
|
// This change will cause many of the unit tests to fail.
|
||||||
|
this.strictMode = true;
|
||||||
this.overwriteDuplicateKey = false;
|
this.overwriteDuplicateKey = false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user