mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
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
This commit is contained in:
parent
360c66732c
commit
f894022ba5
1 changed files with 1 additions and 0 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue