From 63ed837188e8ccbc7a917c78b92f571ef9fb4a87 Mon Sep 17 00:00:00 2001 From: naruse Date: Fri, 2 Aug 2013 01:15:29 +0000 Subject: 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 --- test/rubygems/test_gem_commands_uninstall_command.rb | 4 ++-- 1 file 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 -- cgit v1.2.3