summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authornaruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-08-02 01:15:29 +0000
committernaruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-08-02 01:15:29 +0000
commit63ed837188e8ccbc7a917c78b92f571ef9fb4a87 (patch)
tree17e24e03efb140a5f56a2585bb1a26d2b214ab8b /test
parentc0d4ba9f405847fee2c4fbc3c75d305d2a52a856 (diff)
Fix test failure on Windows because of an extra warning
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42321 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test')
-rw-r--r--test/rubygems/test_gem_commands_uninstall_command.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/rubygems/test_gem_commands_uninstall_command.rb b/test/rubygems/test_gem_commands_uninstall_command.rb
index d6fe3ea5d9..5a11948ee6 100644
--- a/test/rubygems/test_gem_commands_uninstall_command.rb
+++ b/test/rubygems/test_gem_commands_uninstall_command.rb
@@ -26,8 +26,8 @@ class TestGemCommandsUninstallCommand < Gem::InstallerTestCase
end
end
- assert_equal "ERROR: Gem names and --all may not be used together\n",
- @ui.error
+ assert_match(/\A(?:WARNING: Unable to use symlinks on Windows, installing wrapper\n)?ERROR: Gem names and --all may not be used together\n\z/,
+ @ui.error)
end
def test_execute_dependency_order