Skip to content

Commit 4867dcb

Browse files
committed
Use Test::Unit::AssertionFailedError instead of MiniTest::Assertion for test-unit migration
1 parent 1dc7639 commit 4867dcb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/fileutils/test_fileutils.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -242,7 +242,7 @@ def each_srcdest
242242
#
243243

244244
def test_assert_output_lines
245-
assert_raise(MiniTest::Assertion) {
245+
assert_raise(Test::Unit::AssertionFailedError) {
246246
Timeout.timeout(0.5) {
247247
assert_output_lines([]) {
248248
Thread.current.report_on_exception = false

0 commit comments

Comments
 (0)