You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Part of testing strictMode code is to set the default strictMode to true in JSONParserConfiguration. Then the entire suite of tests can be executed using mvn compile test or gradlew build test to ensure that strictMode does not break existing functionality. Certain tests are skipped by checking the default strictMode setting, due to the particular details in the tests.
The JSONTokenerTest testValid() test case fails in the last check for String "1 2". This case should be skipped when strictMode defaults to true.
The text was updated successfully, but these errors were encountered:
@clivinn-shla81092 Thanks, I appreciate the attempt, and contributions from LLMs are always welcome, but the "default strictMode" test run requires a local change to the strictMode default, and should never be committed. Also I think you broke the code by removing some closing braces. But the code update to testValid() looks spot-on. Better luck next time.
Part of testing strictMode code is to set the default strictMode to true in JSONParserConfiguration. Then the entire suite of tests can be executed using
mvn compile test
orgradlew build test
to ensure that strictMode does not break existing functionality. Certain tests are skipped by checking the default strictMode setting, due to the particular details in the tests.The JSONTokenerTest testValid() test case fails in the last check for String "1 2". This case should be skipped when strictMode defaults to true.
The text was updated successfully, but these errors were encountered: