From 7b3b48549b189315a307703f93facb603339179e Mon Sep 17 00:00:00 2001 From: Hiroshi SHIBATA Date: Tue, 11 May 2021 13:12:33 +0900 Subject: [rubygems/rubygems] capture_output will return empty string, not nil https://github.com/rubygems/rubygems/commit/3fa93f6144 --- test/rubygems/test_gem_specification.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test') 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 -- cgit v1.2.3