1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* test/ruby/enc/test_case_mapping.rb: Fixed a logical error.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54125 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
duerst 2016-03-16 08:58:56 +00:00
parent 417f07d996
commit bbef7b401f
2 changed files with 5 additions and 1 deletions

View file

@ -1,3 +1,7 @@
Wed Mar 16 17:58:56 2016 Martin Duerst <duerst@it.aoyama.ac.jp>
* test/ruby/enc/test_case_mapping.rb: Fixed a logical error.
Wed Mar 16 17:57:34 2016 Martin Duerst <duerst@it.aoyama.ac.jp>
* test/ruby/enc/test_case_mapping.rb: Adding tests for Cherokee.

View file

@ -34,7 +34,7 @@ class TestCaseMappingPreliminary < Test::Unit::TestCase
end
def check_capitalize_suffixes(lower, upper)
while not upper.length > 1
while upper.length > 1
lower = lower[1..-1]
check_capitalize_properties upper[0]+lower, upper, :lithuanian
upper = upper[1..-1]