aboutsummaryrefslogtreecommitdiffstats
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
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
-rw-r--r--ChangeLog5
-rw-r--r--test/ruby/enc/test_case_mapping.rb9
2 files changed, 14 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index b9f53c960a..8f2e71b8f8 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+Fri Mar 25 16:40:48 2016 Martin Duerst <duerst@it.aoyama.ac.jp>
+
+ * test/ruby/enc/test_case_mapping.rb: Additional tests title case;
+ some not yet activated.
+
Fri Mar 25 13:38:11 2016 Kazuki Yamaguchi <k@rhe.jp>
* ext/openssl/extconf.rb: check SSL_CTX_set_next_proto_select_cb
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