Skip to content

Commit 9363daf

Browse files
Merge pull request #7149 from voxik/better-error-failure-for-exec-gem-uninstall
Report possible error prior checking output of gem uninstall
2 parents 730c11c + d98e36b commit 9363daf

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

test/rubygems/test_gem_commands_exec_command.rb

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -736,6 +736,8 @@ def test_gem_exec_gem_uninstall
736736
rescue StandardError
737737
nil
738738
end
739+
740+
assert_empty @ui.error
739741
refute_includes @ui.output, "running gem exec with"
740742
assert_includes @ui.output, "Successfully uninstalled a-2\n"
741743

0 commit comments

Comments
 (0)