From d51ce05213188eea5cf4cbd6b9ea06c537726c64 Mon Sep 17 00:00:00 2001 From: nobu Date: Sat, 10 Dec 2011 08:12:28 +0000 Subject: [PATCH] * 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 --- test/ruby/test_econv.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/ruby/test_econv.rb b/test/ruby/test_econv.rb index 8b5c2fa472..2f8ec49411 100644 --- a/test/ruby/test_econv.rb +++ b/test/ruby/test_econv.rb @@ -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)