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:
parent
5f7f1e5162
commit
2e3d072d9d
5 changed files with 24 additions and 20 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue