summaryrefslogtreecommitdiff
path: root/test/-ext-/string/test_ellipsize.rb
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-10-14 19:14:27 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-10-14 19:14:27 +0000
commit2e3d072d9da80937bf3b5a1e2bd52db21dee7114 (patch)
tree1ae78ea9893521f7910132920fe45871600c2a4a /test/-ext-/string/test_ellipsize.rb
parent5f7f1e516218a05ee904c9d4977e5fa4436a6e16 (diff)
test/-ext-: suppress warnings
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43287 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/-ext-/string/test_ellipsize.rb')
-rw-r--r--test/-ext-/string/test_ellipsize.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/-ext-/string/test_ellipsize.rb b/test/-ext-/string/test_ellipsize.rb
index 6ef7d0a1a3..2c14c0cf84 100644
--- a/test/-ext-/string/test_ellipsize.rb
+++ b/test/-ext-/string/test_ellipsize.rb
@@ -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)