diff options
author | duerst <duerst@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2016-12-03 05:09:09 +0000 |
---|---|---|
committer | duerst <duerst@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2016-12-03 05:09:09 +0000 |
commit | 56419df9f31d3419bc388843b0ee167ba6ad836e (patch) | |
tree | d7e01784c3fff18d6ed1b775116febbe42e777e9 | |
parent | 4a7c767ed2ab40c8bc56b9ff0c3d5bb8ee64ea3a (diff) |
change test class name because it is not only about folding
* test/ruby/enc/test_case_comprehensive.rb: Change test class name from
TestComprehensiveCaseFold to TestComprehensiveCaseMapping because the
tests are about mapping in general, not only folding
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56966 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r-- | test/ruby/enc/test_case_comprehensive.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/ruby/enc/test_case_comprehensive.rb b/test/ruby/enc/test_case_comprehensive.rb index f0313d2b89..2a759cc54d 100644 --- a/test/ruby/enc/test_case_comprehensive.rb +++ b/test/ruby/enc/test_case_comprehensive.rb @@ -3,7 +3,7 @@ require "test/unit" -class TestComprehensiveCaseFold < Test::Unit::TestCase +class TestComprehensiveCaseMapping < Test::Unit::TestCase UNICODE_VERSION = RbConfig::CONFIG['UNICODE_VERSION'] UNICODE_DATA_PATH = "../../../enc/unicode/data/#{UNICODE_VERSION}" @@ -22,13 +22,13 @@ class TestComprehensiveCaseFold < Test::Unit::TestCase end def test_data_files_available - unless TestComprehensiveCaseFold.data_files_available? + unless TestComprehensiveCaseMapping.data_files_available? skip "Unicode data files not available in #{UNICODE_DATA_PATH}." end end end -TestComprehensiveCaseFold.data_files_available? and class TestComprehensiveCaseFold +TestComprehensiveCaseMapping.data_files_available? and class TestComprehensiveCaseMapping (CaseTest = Struct.new(:method_name, :attributes, :first_data, :follow_data)).class_eval do def initialize(method_name, attributes, first_data, follow_data=first_data) super |