diff options
Diffstat (limited to 'test/rubygems/test_gem_commands_uninstall_command.rb')
-rw-r--r-- | test/rubygems/test_gem_commands_uninstall_command.rb | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/test/rubygems/test_gem_commands_uninstall_command.rb b/test/rubygems/test_gem_commands_uninstall_command.rb index cded63f447..b1b7a56868 100644 --- a/test/rubygems/test_gem_commands_uninstall_command.rb +++ b/test/rubygems/test_gem_commands_uninstall_command.rb @@ -53,9 +53,10 @@ class TestGemCommandsUninstallCommand < GemInstallerTestCase end end - assert_match(/\AUnknown gem foo >= 0$/, e.message) + assert_match(/\Acannot uninstall, check `gem list -d foo`$/, e.message) output = @ui.output.split "\n" - assert output.empty?, "UI output should be empty after an uninstall error" + assert_empty output, "UI output should be empty after an uninstall error" end + end |