diff options
author | Hiroshi SHIBATA <hsbt@ruby-lang.org> | 2021-09-06 18:34:15 +0900 |
---|---|---|
committer | Hiroshi SHIBATA <hsbt@ruby-lang.org> | 2021-09-06 18:34:15 +0900 |
commit | 940a19e4b3ae1ce466c3bc912175b4ef7c615c53 (patch) | |
tree | 01a25878c6b057c7493f03eff992b2be037bc6b4 /test/zlib | |
parent | 8baac078bcbdbfdc70d2c5aef938ba23f44df17b (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.rb | 4 |
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 |