mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* enc/unicode.c: Fixed two macro definitions.
* test/ruby/enc/test_case_mapping.rb: Test cases that detected the above bugs. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54140 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
551f6b3a18
commit
fdbb82967f
3 changed files with 14 additions and 2 deletions
|
@ -64,6 +64,12 @@ class TestCaseMappingPreliminary < Test::Unit::TestCase
|
|||
check_swapcase_properties 'résumé DÜRST ĭñŧėřŊÃŢIJŇŐŃæłĩżàťïōņ', 'RÉSUMÉ dürst ĬÑŦĖŘŋãţijňőńÆŁĨŻÀŤÏŌŅ', :lithuanian
|
||||
end
|
||||
|
||||
def test_various
|
||||
check_upcase_properties 'Μ', 'µ', :lithuanian # MICRO SIGN -> Greek Mu
|
||||
check_capitalize_properties 'Ss', 'ß', :lithuanian
|
||||
check_upcase_properties 'SS', 'ß', :lithuanian
|
||||
end
|
||||
|
||||
def test_cherokee
|
||||
check_downcase_properties "\uab70\uab71\uab72\uab73\uab74\uab75\uab76\uab77\uab78\uab79", 'ᎠᎡᎢᎣᎤᎥᎦᎧᎨᎩ', :lithuanian
|
||||
check_upcase_properties 'ᎠᎡᎢᎣᎤᎥᎦᎧᎨᎩ', "\uab70\uab71\uab72\uab73\uab74\uab75\uab76\uab77\uab78\uab79", :lithuanian
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue