diff --git a/test/ruby/enc/test_case_comprehensive.rb b/test/ruby/enc/test_case_comprehensive.rb index 2b93692317..13c61ba7d5 100644 --- a/test/ruby/enc/test_case_comprehensive.rb +++ b/test/ruby/enc/test_case_comprehensive.rb @@ -14,7 +14,7 @@ class TestComprehensiveCaseFold < Test::Unit::TestCase def self.expand_filename(basename) File.expand_path("#{UNICODE_DATA_PATH}/#{basename}.txt", __dir__) end - + def self.data_files_available? %w[UnicodeData CaseFolding SpecialCasing].all? do |f| File.exist?(expand_filename(f))