ruby-changes:30269
From: naruse <ko1@a...>
Date: Fri, 2 Aug 2013 10:15:39 +0900 (JST)
Subject: [ruby-changes:30269] naruse:r42321 (trunk): Fix test failure on Windows because of an extra warning
naruse 2013-08-02 10:15:29 +0900 (Fri, 02 Aug 2013) New Revision: 42321 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=42321 Log: Fix test failure on Windows because of an extra warning Modified files: trunk/test/rubygems/test_gem_commands_uninstall_command.rb Index: test/rubygems/test_gem_commands_uninstall_command.rb =================================================================== --- test/rubygems/test_gem_commands_uninstall_command.rb (revision 42320) +++ test/rubygems/test_gem_commands_uninstall_command.rb (revision 42321) @@ -26,8 +26,8 @@ class TestGemCommandsUninstallCommand < https://github.com/ruby/ruby/blob/trunk/test/rubygems/test_gem_commands_uninstall_command.rb#L26 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 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/