mirror of
https://github.com/stleary/JSON-java.git
synced 2025-08-03 11:25:30 -04:00
force strict mode to expose failing tests
This commit is contained in:
parent
1e3f37be98
commit
4319b71934
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user