The test will fail because raw arrays are mutable. We should consider rerunning the test in this case using equal-now, and if that succeeds, we should throw a customized test-failure message saying "Your test failed because of mutable data, but would have succeeded using the is=~ test operator."
Suppose you wrote
The test will fail because raw arrays are mutable. We should consider rerunning the test in this case using
equal-now
, and if that succeeds, we should throw a customized test-failure message saying "Your test failed because of mutable data, but would have succeeded using theis=~
test operator."