1
0
Fork 0
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:
Hiroshi SHIBATA 2021-05-11 13:12:33 +09:00
parent 9b5e4ce611
commit 7b3b48549b
Notes: git 2021-05-12 17:25:19 +09:00

View file

@ -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