ruby-changes:66177
From: Hiroshi <ko1@a...>
Date: Wed, 12 May 2021 17:25:26 +0900 (JST)
Subject: [ruby-changes:66177] 9b5e4ce611 (master): [rubygems/rubygems] Fixed variable scope at test_silent_system
https://git.ruby-lang.org/ruby.git/commit/?id=9b5e4ce611 From 9b5e4ce611de214eea08a23eddc14dc97e5f2cd3 Mon Sep 17 00:00:00 2001 From: Hiroshi SHIBATA <hsbt@r...> Date: Tue, 11 May 2021 13:11:36 +0900 Subject: [rubygems/rubygems] Fixed variable scope at test_silent_system https://github.com/rubygems/rubygems/commit/bfcdf79657 --- test/rubygems/test_gem_util.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/rubygems/test_gem_util.rb b/test/rubygems/test_gem_util.rb index 3c8e207..222adcb 100644 --- a/test/rubygems/test_gem_util.rb +++ b/test/rubygems/test_gem_util.rb @@ -18,9 +18,9 @@ class TestGemUtil < Gem::TestCase https://github.com/ruby/ruby/blob/trunk/test/rubygems/test_gem_util.rb#L18 out, err = capture_output do Gem::Util.silent_system(*ruby_with_rubygems_in_load_path, '-e', 'puts "hello"; warn "hello"') end + assert_empty out + assert_empty err end - assert_empty out - assert_empty err end def test_traverse_parents -- cgit v1.1 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/