summaryrefslogtreecommitdiff
path: root/test/zlib
diff options
context:
space:
mode:
authorHiroshi SHIBATA <hsbt@ruby-lang.org>2021-09-06 18:34:15 +0900
committerHiroshi SHIBATA <hsbt@ruby-lang.org>2021-09-06 18:34:15 +0900
commit940a19e4b3ae1ce466c3bc912175b4ef7c615c53 (patch)
tree01a25878c6b057c7493f03eff992b2be037bc6b4 /test/zlib
parent8baac078bcbdbfdc70d2c5aef938ba23f44df17b (diff)
Use Test::Unit::AssertionFailedError instead of MiniTest::Assertion for test-unit migration
Diffstat (limited to 'test/zlib')
-rw-r--r--test/zlib/test_zlib.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/zlib/test_zlib.rb b/test/zlib/test_zlib.rb
index 4780bc077b..a629c0c902 100644
--- a/test/zlib/test_zlib.rb
+++ b/test/zlib/test_zlib.rb
@@ -1319,7 +1319,7 @@ if defined? Zlib
assert_equal(0x02820145, Zlib.adler32_combine(one, two, 1))
rescue NotImplementedError
skip "adler32_combine is not implemented"
- rescue Minitest::Assertion
+ rescue Test::Unit::AssertionFailedError
if /aix/ =~ RUBY_PLATFORM
skip "zconf.h in zlib does not handle _LARGE_FILES in AIX. Skip until it is fixed"
end
@@ -1354,7 +1354,7 @@ if defined? Zlib
assert_equal(0x8c736521, Zlib.crc32_combine(one, two, 1))
rescue NotImplementedError
skip "crc32_combine is not implemented"
- rescue Minitest::Assertion
+ rescue Test::Unit::AssertionFailedError
if /aix/ =~ RUBY_PLATFORM
skip "zconf.h in zlib does not handle _LARGE_FILES in AIX. Skip until it is fixed"
end