Closed ktdreyer closed 10 years ago
No strong opinion here. Why is this change needed?
As of Minitest 5, the Test::Unit shim has broken some compatibility with Test::Unit::TestCase in some scenarios. assert_raise
-> assert_raises
is the big relevant change in posix-spawn's case.
Minitest has superceded Test::Unit in most cases, and this change is about keeping up with the latest conventions in test frameworks. From the stdlib docs:
If you are writing new test code, please use MiniTest instead of Test::Unit.
Test::Unit has been left in the standard library to support legacy test suites.
:+1: for keeping current.
Thanks for merging!
This pull request switches from Test::Unit to Minitest 5's syntax. It also refactors the duplicated test requires lines into test_helper.