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

test/-ext-: suppress warnings

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43287 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
nobu 2013-10-14 19:14:27 +00:00
parent 5f7f1e5162
commit 2e3d072d9d
5 changed files with 24 additions and 20 deletions

View file

@ -32,7 +32,7 @@ class Test_StringEllipsize < Test::Unit::TestCase
def test_nonascii
a = "\u3042"
encs = Encoding.list.each do |enc|
Encoding.list.each do |enc|
next if enc.dummy?
begin
s = a.encode(enc)