summaryrefslogtreecommitdiff
path: root/test/-ext-/string/test_ellipsize.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/-ext-/string/test_ellipsize.rb')
-rw-r--r--test/-ext-/string/test_ellipsize.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/-ext-/string/test_ellipsize.rb b/test/-ext-/string/test_ellipsize.rb
index 6ef7d0a1a3e..2d066d05b7d 100644
--- a/test/-ext-/string/test_ellipsize.rb
+++ b/test/-ext-/string/test_ellipsize.rb
@@ -34,6 +34,7 @@ class Test_StringEllipsize < Test::Unit::TestCase
a = "\u3042"
encs = Encoding.list.each do |enc|
next if enc.dummy?
+ next if enc == Encoding::UTF_16 or enc == Encoding::UTF_32
begin
s = a.encode(enc)
e = "...".encode(enc)