summaryrefslogtreecommitdiff
path: root/test/-ext-/string/test_ellipsize.rb
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-09-24 07:42:58 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-09-24 07:42:58 +0000
commitf894022ba5764ebb0e325b45be5ed0217c99c4f7 (patch)
tree85fffd5ccc9016866cd1a691b7796c396bd42d94 /test/-ext-/string/test_ellipsize.rb
parent360c66732c145d46fcf8fdf418737d77c2fdfbe2 (diff)
string/test_ellipsize.rb: remove non-sense tests
* test/-ext-/string/test_ellipsize.rb (Test_StringEllipsize#test_nonascii): rb_str_ellipsize() does not support BOM. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43032 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
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)