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:
parent
d5237c5d10
commit
9b5e4ce611
Notes:
git
2021-05-12 17:25:19 +09:00
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue