diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2011-12-10 08:12:28 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2011-12-10 08:12:28 +0000 |
commit | d51ce05213188eea5cf4cbd6b9ea06c537726c64 (patch) | |
tree | d8e0989c67635db569c69db9b76775876e49890d /test/ruby | |
parent | a03a2d713c566f7ab909433667cf5760e45cd369 (diff) | |
download | ruby-d51ce05213188eea5cf4cbd6b9ea06c537726c64.tar.gz |
* 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
Diffstat (limited to 'test/ruby')
-rw-r--r-- | test/ruby/test_econv.rb | 4 |
1 files 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) |