diff options
author | Hiroshi SHIBATA <hsbt@ruby-lang.org> | 2021-05-11 13:12:33 +0900 |
---|---|---|
committer | Hiroshi SHIBATA <hsbt@ruby-lang.org> | 2021-05-12 17:24:43 +0900 |
commit | 7b3b48549b189315a307703f93facb603339179e (patch) | |
tree | 974530a2fae1593e85dd6229a4b87e6f9fedc216 /test/rubygems/test_gem_specification.rb | |
parent | 9b5e4ce611de214eea08a23eddc14dc97e5f2cd3 (diff) |
[rubygems/rubygems] capture_output will return empty string, not nil
https://github.com/rubygems/rubygems/commit/3fa93f6144
Notes
Notes:
Merged: https://github.com/ruby/ruby/pull/4491
Diffstat (limited to 'test/rubygems/test_gem_specification.rb')
-rw-r--r-- | test/rubygems/test_gem_specification.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/rubygems/test_gem_specification.rb b/test/rubygems/test_gem_specification.rb index eff7c85a6d..7e82793c90 100644 --- a/test/rubygems/test_gem_specification.rb +++ b/test/rubygems/test_gem_specification.rb @@ -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 |