mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
[rubygems/rubygems] capture_output will return empty string, not nil
https://github.com/rubygems/rubygems/commit/3fa93f6144
This commit is contained in:
parent
9b5e4ce611
commit
7b3b48549b
Notes:
git
2021-05-12 17:25:19 +09:00
1 changed files with 1 additions and 1 deletions
|
@ -3066,7 +3066,7 @@ Please report a bug if this causes problems.
|
|||
out, err = capture_output do
|
||||
@a1.add_runtime_dependency "b", "~> 3.0", "~> 3.0"
|
||||
end
|
||||
assert_nil out
|
||||
assert_empty out
|
||||
assert_equal(expected, err)
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in a new issue