stleary / JSON-java

A reference implementation of a JSON package in Java.
http://stleary.github.io/JSON-java/index.html
Other
4.54k stars 2.56k forks source link

Ticket #861 replace assertTrue with assertEquals #862

Closed Simulant87 closed 8 months ago

Simulant87 commented 9 months ago

Regarding https://github.com/stleary/JSON-java/issues/861

replace assertTrue with assertEquals statements to see the difference between actual and expected output on a failing test.

I can extend on this for all the test classes.

stleary commented 8 months ago

No, thank you. The existing assertTrue expressions work, and I don't see a compelling reason to change them, especially across all tests.