mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Use omit instead of skip: test/ruby/enc/**/*.rb
This commit is contained in:
parent
6d57290210
commit
f25c2e6336
4 changed files with 4 additions and 4 deletions
|
@ -24,7 +24,7 @@ class TestComprehensiveCaseMapping < Test::Unit::TestCase
|
|||
|
||||
def test_data_files_available
|
||||
unless TestComprehensiveCaseMapping.data_files_available?
|
||||
skip "Unicode data files not available in #{UNICODE_DATA_PATH}."
|
||||
omit "Unicode data files not available in #{UNICODE_DATA_PATH}."
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
|
@ -68,7 +68,7 @@ class TestEmojiBreaks < Test::Unit::TestCase
|
|||
def test_data_files_available
|
||||
assert_equal 4, EMOJI_DATA_FILES.size # debugging test
|
||||
unless TestEmojiBreaks.data_files_available?
|
||||
skip "Emoji data files not available in #{EMOJI_DATA_PATH}."
|
||||
omit "Emoji data files not available in #{EMOJI_DATA_PATH}."
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
|
@ -40,7 +40,7 @@ class TestGraphemeBreaksFromFile < Test::Unit::TestCase
|
|||
|
||||
def test_data_files_available
|
||||
unless TestGraphemeBreaksFromFile.file_available?
|
||||
skip "Unicode data file GraphemeBreakTest not available in #{UNICODE_DATA_PATH}."
|
||||
omit "Unicode data file GraphemeBreakTest not available in #{UNICODE_DATA_PATH}."
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
|
@ -39,7 +39,7 @@ class TestCaseFold < Test::Unit::TestCase
|
|||
@@tests ||= read_tests
|
||||
rescue Errno::ENOENT => e
|
||||
@@tests ||= []
|
||||
skip e.message
|
||||
omit e.message
|
||||
end
|
||||
|
||||
def self.generate_test_casefold(encoding)
|
||||
|
|
Loading…
Add table
Reference in a new issue