Open zeshuai007 opened 4 years ago
result:
[RemoteTestNG] detected TestNG version 6.8.9
[TestNG] Running: .................\testng-customsuite.xml
PASSED: doSquashNullsTest
===============================================
Default test
Tests run: 1, Failures: 0, Skips: 0
===============================================
===============================================
Default suite
Total tests run: 1, Failures: 0, Skips: 0
===============================================
Verification conclusion: For squashNullsTest.json tests should use JoltTestUtil.runDiffy instead of JoltTestUtil.runArrayOrderObliviousDiffy. Any helpful suggestions are welcome.
In ModifierTest, the conversion result of squashNullsTests.json is not expected, because the squashNulls function cannot remove null at the first level, and then Issue#909 has a related problem description However, the test case execution result of squashNullsTests.json passed unexpectedly successfully. This confuses me. It is certain that the test case of squashNull is problematic, so I extracted some code from the use case for verification. example: