1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* remove trailing spaces.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55747 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
svn 2016-07-26 04:05:04 +00:00
parent c2b500a000
commit aa1bf14f9c

View file

@ -14,7 +14,7 @@ class TestComprehensiveCaseFold < Test::Unit::TestCase
def self.expand_filename(basename) def self.expand_filename(basename)
File.expand_path("#{UNICODE_DATA_PATH}/#{basename}.txt", __dir__) File.expand_path("#{UNICODE_DATA_PATH}/#{basename}.txt", __dir__)
end end
def self.data_files_available? def self.data_files_available?
%w[UnicodeData CaseFolding SpecialCasing].all? do |f| %w[UnicodeData CaseFolding SpecialCasing].all? do |f|
File.exist?(expand_filename(f)) File.exist?(expand_filename(f))