1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* test/ruby/test_econv.rb (TestEncodingConverter#test_default_external): drop stderr.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33996 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
nobu 2011-12-10 08:12:28 +00:00
parent a03a2d713c
commit d51ce05213

View file

@ -921,8 +921,8 @@ class TestEncodingConverter < Test::Unit::TestCase
STDOUT.flush
end
EOS
Encoding.list.grep(->(enc) {/^ISO-8859-\d+\z/i =~ enc.name}) do |enc|
error = IO.popen([EnvUtil.rubybin, "-e", cmd, enc.name]) do |child|
Encoding.list.grep(->(enc) {/\AISO-8859-\d+\z/i =~ enc.name}) do |enc|
error = IO.popen([EnvUtil.rubybin, "-e", cmd, enc.name, err: File::NULL]) do |child|
Marshal.load(child)
end
assert_nil(error)