ruby-changes:19868
From: naruse <ko1@a...>
Date: Sat, 4 Jun 2011 04:10:09 +0900 (JST)
Subject: [ruby-changes:19868] naruse:r31915 (trunk): * test/rubygems/test_gem_commands_which_command.rb:
naruse 2011-06-04 04:09:59 +0900 (Sat, 04 Jun 2011) New Revision: 31915 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=31915 Log: * test/rubygems/test_gem_commands_which_command.rb: "missing" exists on ruby's top source directory. [Bug #4815] Modified files: trunk/ChangeLog trunk/test/rubygems/test_gem_commands_which_command.rb Index: ChangeLog =================================================================== --- ChangeLog (revision 31914) +++ ChangeLog (revision 31915) @@ -1,3 +1,8 @@ +Sat Jun 4 04:04:41 2011 NARUSE, Yui <naruse@r...> + + * test/rubygems/test_gem_commands_which_command.rb: + "missing" exists on ruby's top source directory. [Bug #4815] + Fri Jun 3 21:48:12 2011 NARUSE, Yui <naruse@r...> * lib/rubygems/test_case.rb: Refix for test-all in separate directory. Index: test/rubygems/test_gem_commands_which_command.rb =================================================================== --- test/rubygems/test_gem_commands_which_command.rb (revision 31914) +++ test/rubygems/test_gem_commands_which_command.rb (revision 31915) @@ -33,19 +33,19 @@ util_foo_bar - @cmd.handle_options %w[foo_bar missing] + @cmd.handle_options %w[foo_bar missinglib] use_ui @ui do @cmd.execute end assert_equal "#{@foo_bar.full_gem_path}/lib/foo_bar.rb\n", @ui.output - assert_match %r%Can.t find ruby library file or shared library missing\n%, + assert_match %r%Can.t find ruby library file or shared library missinglib\n%, @ui.error end def test_execute_missing - @cmd.handle_options %w[missing] + @cmd.handle_options %w[missinglib] use_ui @ui do assert_raises Gem::MockGemUi::TermError do @@ -54,7 +54,7 @@ end assert_equal '', @ui.output - assert_match %r%Can.t find ruby library file or shared library missing\n%, + assert_match %r%Can.t find ruby library file or shared library missinglib\n%, @ui.error end -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/