rgrove / sanitize

Ruby HTML and CSS sanitizer.
MIT License
2.02k stars 142 forks source link

Minitest "global use of must_equal" deprecation warnings are annoying #212

Closed rgrove closed 3 years ago

rgrove commented 3 years ago

Minitest has begun logging many of these when running tests:

DEPRECATED: global use of mustequal from [file]. Use (obj).must_equal instead. This will fail in Minitest 6.

If anyone has suggestions for how to quickly update every instance of must_equal, must_raise, etc. to silence these warnings, please let me know. I spent two minutes Googling and didn't immediately see an easy solution, and I'm not eager to edit every single case by hand.

In the meantime, the warnings aren't hurting anything even though they're super annoying.