Skip to content

Commit 5f23cd3

Browse files
committed
Use omit instead of skip for test-unit
1 parent bcc991e commit 5f23cd3

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

test/zlib/test_zlib.rb

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -812,11 +812,11 @@ def test_path_tmpfile
812812
gz1.close
813813
end
814814
rescue Errno::EINVAL
815-
skip 'O_TMPFILE not supported (EINVAL)'
815+
omit 'O_TMPFILE not supported (EINVAL)'
816816
rescue Errno::EISDIR
817-
skip 'O_TMPFILE not supported (EISDIR)'
817+
omit 'O_TMPFILE not supported (EISDIR)'
818818
rescue Errno::EOPNOTSUPP
819-
skip 'O_TMPFILE not supported (EOPNOTSUPP)'
819+
omit 'O_TMPFILE not supported (EOPNOTSUPP)'
820820
end
821821
end
822822
end
@@ -1324,10 +1324,10 @@ def test_adler32_combine
13241324
begin
13251325
assert_equal(0x02820145, Zlib.adler32_combine(one, two, 1))
13261326
rescue NotImplementedError
1327-
skip "adler32_combine is not implemented"
1327+
omit "adler32_combine is not implemented"
13281328
rescue Test::Unit::AssertionFailedError
13291329
if /aix/ =~ RUBY_PLATFORM
1330-
skip "zconf.h in zlib does not handle _LARGE_FILES in AIX. Skip until it is fixed"
1330+
omit "zconf.h in zlib does not handle _LARGE_FILES in AIX. Skip until it is fixed"
13311331
end
13321332
raise $!
13331333
end
@@ -1359,10 +1359,10 @@ def test_crc32_combine
13591359
begin
13601360
assert_equal(0x8c736521, Zlib.crc32_combine(one, two, 1))
13611361
rescue NotImplementedError
1362-
skip "crc32_combine is not implemented"
1362+
omit "crc32_combine is not implemented"
13631363
rescue Test::Unit::AssertionFailedError
13641364
if /aix/ =~ RUBY_PLATFORM
1365-
skip "zconf.h in zlib does not handle _LARGE_FILES in AIX. Skip until it is fixed"
1365+
omit "zconf.h in zlib does not handle _LARGE_FILES in AIX. Skip until it is fixed"
13661366
end
13671367
raise $!
13681368
end

0 commit comments

Comments
 (0)