summaryrefslogtreecommitdiff
path: root/test/-ext-/string
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-09-24 08:15:18 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-09-24 08:15:18 +0000
commitd8441fcc6edec94921a827980035091db875979d (patch)
tree5cfdf39a5a9683fab41dc4fc80504e46d9d0edcf /test/-ext-/string
parent84a5622646dd12550e57b16e46f272ab7d49a766 (diff)
encdb.c, encoding.c: make BOM-encodings dummy
* enc/encdb.c (ENC_DUMMY_UNICODE): make BOM-encodings dummy. * encoding.c (enc_autoload): keep dummy encodings dummy. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43034 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/-ext-/string')
-rw-r--r--test/-ext-/string/test_ellipsize.rb1
1 files changed, 0 insertions, 1 deletions
diff --git a/test/-ext-/string/test_ellipsize.rb b/test/-ext-/string/test_ellipsize.rb
index 2d066d0..6ef7d0a 100644
--- a/test/-ext-/string/test_ellipsize.rb
+++ b/test/-ext-/string/test_ellipsize.rb
@@ -34,7 +34,6 @@ 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)