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

[rubygems/rubygems] Fixed variable scope at test_silent_system

https://github.com/rubygems/rubygems/commit/bfcdf79657
This commit is contained in:
Hiroshi SHIBATA 2021-05-11 13:11:36 +09:00
parent d5237c5d10
commit 9b5e4ce611
Notes: git 2021-05-12 17:25:19 +09:00

View file

@ -18,9 +18,9 @@ class TestGemUtil < Gem::TestCase
out, err = capture_output do out, err = capture_output do
Gem::Util.silent_system(*ruby_with_rubygems_in_load_path, '-e', 'puts "hello"; warn "hello"') Gem::Util.silent_system(*ruby_with_rubygems_in_load_path, '-e', 'puts "hello"; warn "hello"')
end end
assert_empty out
assert_empty err
end end
assert_empty out
assert_empty err
end end
def test_traverse_parents def test_traverse_parents