The issue was that the order of the arguments to 3-argument assertEquals() changed between JUnit4 and JUnit5, and when the expected and actual arguments are strings, type checking does not catch this!
With the fix, we now get 2 "normal" test failures at org.apache.sling:org.apache.sling.xss:1.0.8:
The issue was that the order of the arguments to 3-argument
assertEquals()
changed between JUnit4 and JUnit5, and when theexpected
andactual
arguments are strings, type checking does not catch this!With the fix, we now get 2 "normal" test failures at
org.apache.sling:org.apache.sling.xss:1.0.8
:and test success at v1.0.12, as expected.