ruby-changes:38802
From: usa <ko1@a...>
Date: Sun, 14 Jun 2015 09:59:45 +0900 (JST)
Subject: [ruby-changes:38802] usa:r50883 (trunk): * test/test_unicode_normalize.rb: get rid of a warning.
usa 2015-06-14 09:59:23 +0900 (Sun, 14 Jun 2015) New Revision: 50883 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=50883 Log: * test/test_unicode_normalize.rb: get rid of a warning. Modified files: trunk/test/test_unicode_normalize.rb Index: test/test_unicode_normalize.rb =================================================================== --- test/test_unicode_normalize.rb (revision 50882) +++ test/test_unicode_normalize.rb (revision 50883) @@ -17,9 +17,9 @@ class TestUnicodeNormalize < Test::Unit: https://github.com/ruby/ruby/blob/trunk/test/test_unicode_normalize.rb#L17 .collect.with_index { |linedata, linenumber| [linedata, linenumber]} .reject { |line| line[0] =~ /^[\#@]/ } .collect do |line| - NormTest.new *(line[0].split(';').take(5).collect do |code_string| + NormTest.new(*(line[0].split(';').take(5).collect do |code_string| code_string.split(/\s/).collect { |cp| cp.to_i(16) }.pack('U*') - end + [line[1]+1]) + end + [line[1]+1])) end end -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/