ruby-changes:42051
From: duerst <ko1@a...>
Date: Wed, 16 Mar 2016 17:59:00 +0900 (JST)
Subject: [ruby-changes:42051] duerst:r54125 (trunk): * test/ruby/enc/test_case_mapping.rb: Fixed a logical error.
duerst 2016-03-16 17:58:56 +0900 (Wed, 16 Mar 2016) New Revision: 54125 https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=54125 Log: * test/ruby/enc/test_case_mapping.rb: Fixed a logical error. Modified files: trunk/ChangeLog trunk/test/ruby/enc/test_case_mapping.rb Index: ChangeLog =================================================================== --- ChangeLog (revision 54124) +++ ChangeLog (revision 54125) @@ -1,3 +1,7 @@ https://github.com/ruby/ruby/blob/trunk/ChangeLog#L1 +Wed Mar 16 17:58:56 2016 Martin Duerst <duerst@i...> + + * test/ruby/enc/test_case_mapping.rb: Fixed a logical error. + Wed Mar 16 17:57:34 2016 Martin Duerst <duerst@i...> * test/ruby/enc/test_case_mapping.rb: Adding tests for Cherokee. Index: test/ruby/enc/test_case_mapping.rb =================================================================== --- test/ruby/enc/test_case_mapping.rb (revision 54124) +++ test/ruby/enc/test_case_mapping.rb (revision 54125) @@ -34,7 +34,7 @@ class TestCaseMappingPreliminary < Test: https://github.com/ruby/ruby/blob/trunk/test/ruby/enc/test_case_mapping.rb#L34 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] -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/