aboutsummaryrefslogtreecommitdiffstats
path: root/test/ruby/enc/test_case_mapping.rb
diff options
context:
space:
mode:
authorduerst <duerst@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2016-03-25 07:40:49 +0000
committerduerst <duerst@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2016-03-25 07:40:49 +0000
commit8006157cbadb382b1b37e2fbd6a9e3092814db5d (patch)
tree18820a354778db5835a8002e0cf3101cbd4a6d4e /test/ruby/enc/test_case_mapping.rb
parentb20b9e0afed97d04cbdb7e361b2214a88ca4cf89 (diff)
downloadruby-8006157cbadb382b1b37e2fbd6a9e3092814db5d.tar.gz
* test/ruby/enc/test_case_mapping.rb: Additional tests title case;
some not yet activated. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54259 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/ruby/enc/test_case_mapping.rb')
-rw-r--r--test/ruby/enc/test_case_mapping.rb9
1 files changed, 9 insertions, 0 deletions
diff --git a/test/ruby/enc/test_case_mapping.rb b/test/ruby/enc/test_case_mapping.rb
index 0f77ad3f1d..5d028d9186 100644
--- a/test/ruby/enc/test_case_mapping.rb
+++ b/test/ruby/enc/test_case_mapping.rb
@@ -80,8 +80,17 @@ class TestCaseMappingPreliminary < Test::Unit::TestCase
def test_titlecase
check_downcase_properties 'dz dž lj nj', 'Dz Dž Lj Nj', :lithuanian
+ check_downcase_properties 'dz dž lj nj', 'DZ DŽ LJ NJ', :lithuanian
check_upcase_properties 'DZ DŽ LJ NJ', 'Dz Dž Lj Nj', :lithuanian
+ # check_upcase_properties 'DZ DŽ LJ NJ', 'dz dž lj nj', :lithuanian
check_capitalize_properties 'Dz', 'DZ', :lithuanian
+ check_capitalize_properties 'Dž', 'DŽ', :lithuanian
+ check_capitalize_properties 'Lj', 'LJ', :lithuanian
+ check_capitalize_properties 'Nj', 'NJ', :lithuanian
+ # check_capitalize_properties 'Dz', 'dz', :lithuanian
+ # check_capitalize_properties 'Dž', 'dž', :lithuanian
+ # check_capitalize_properties 'Lj', 'lj', :lithuanian
+ # check_capitalize_properties 'Nj', 'nj', :lithuanian
end
def test_ascii_option