8000 capture_output will return empty string, not nil · rubygems/rubygems@3fa93f6 · GitHub
[go: up one dir, main page]

Skip to content

Commit 3fa93f6

Browse files
committed
capture_output will return empty string, not nil
1 parent bfcdf79 commit 3fa93f6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/rubygems/test_gem_specification.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3066,7 +3066,7 @@ def test_duplicate_runtime_dependency
30663066
out, err = capture_output do
30673067
@a1.add_runtime_dependency "b", "~> 3.0", "~> 3.0"
30683068
end
3069-
assert_nil out
3069+
assert_empty out
30703070
assert_equal(expected, err)
30713071
end
307 3AC2 23072

0 commit comments

Comments
 (0)
0