You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In MiniTest 2.12.0, assert_block was deprecated. Any expectation failure results in a deprecation warning coming from the super send at test_unit_integration.rb:53.
I had a brief look at how to fix it, but I wasn't sure of the best way to proceed. It would be possible to replace the implementation of TestFrameworkAdapter#assert_block with something like this:
assert(yield, message)
But I'm not sure if that provides the desired error message or not.
I'd be happy to work on a pull request given a little direction of the best approach to take.
The text was updated successfully, but these errors were encountered:
In MiniTest 2.12.0, assert_block was deprecated. Any expectation failure results in a deprecation warning coming from the super send at
test_unit_integration.rb:53
.I had a brief look at how to fix it, but I wasn't sure of the best way to proceed. It would be possible to replace the implementation of
TestFrameworkAdapter#assert_block
with something like this:But I'm not sure if that provides the desired error message or not.
I'd be happy to work on a pull request given a little direction of the best approach to take.
The text was updated successfully, but these errors were encountered: