mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* test/test_unicode_normalize.rb: get rid of a warning.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50883 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
7151598d5b
commit
cda0d56296
1 changed files with 2 additions and 2 deletions
|
@ -17,9 +17,9 @@ class TestUnicodeNormalize < Test::Unit::TestCase
|
|||
.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
|
||||
|
||||
|
|
Loading…
Reference in a new issue