diff options
author | duerst <duerst@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2016-11-30 08:25:46 +0000 |
---|---|---|
committer | duerst <duerst@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2016-11-30 08:25:46 +0000 |
commit | 87b937bdfd017ed710d1b547ef42b2a0c7e92592 (patch) | |
tree | e94b3f175dfd8284d32619dfb546898c0eb53d92 /test/ruby | |
parent | 22c0994bc8b34e4b8b80de3259363b0f27c24988 (diff) | |
download | ruby-87b937bdfd017ed710d1b547ef42b2a0c7e92592.tar.gz |
fix uppercasing for U+A64B, CYRILLIC SMALL LETTER MONOGRAPH UK
* enc/unicode.c: Add U+A64B to the special cases 03B9 and 03BC
at the end of onigenc_unicode_case_map (Bug #12990).
* enc/unicode/case-folding.rb: Add U+A64B to the special cases
03B9 and 03BC. Add a comment pointing to enc/unicode.c.
Change warnings to exceptions for unpredicted cases,
because this would have been more easily noticed
(the warning was not noticed when upgrading to Unicode 9.0.0).
* test/ruby/enc/test_case_comprehensive.rb: Remove temporary
exclusion of U+A64B from testing.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56941 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/ruby')
-rw-r--r-- | test/ruby/enc/test_case_comprehensive.rb | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/test/ruby/enc/test_case_comprehensive.rb b/test/ruby/enc/test_case_comprehensive.rb index 2ee24f86c9..f0313d2b89 100644 --- a/test/ruby/enc/test_case_comprehensive.rb +++ b/test/ruby/enc/test_case_comprehensive.rb @@ -146,8 +146,6 @@ TestComprehensiveCaseFold.data_files_available? and class TestComprehensiveCase attributes.prepend '_' unless attributes.empty? define_method "test_#{encoding}_#{test.method_name}#{attributes}" do @@codepoints.each do |code| - next if code=="\uA64B" # temporarily exclude this character from testing, - # see https://bugs.ruby-lang.org/issues/12990 source = code.encode(encoding) * 5 target = "#{test.first_data[code]}#{test.follow_data[code]*4}".encode(encoding) result = source.__send__(test.method_name, *test.attributes) |