blackwinter / ruby-filemagic

Ruby bindings to the magic(4) library, revised.
https://blackwinter.github.iom/ruby-filemagic
146 stars 34 forks source link

Use assert_raises instead of assert_raise #41

Open joast opened 1 year ago

joast commented 1 year ago

If minitest_tu_shim is installed, then minitest will be used instead of test-unit resulting in deprecation warnings for assert_raise. Use assert_raises because it works with both test-unit and minitest.