[前][次][番号順一覧][スレッド一覧]

ruby-changes:35705

From: nobu <ko1@a...>
Date: Sat, 4 Oct 2014 21:31:49 +0900 (JST)
Subject: [ruby-changes:35705] nobu:r47787 (trunk): test_gem_source_git.rb: drop intended error message

nobu	2014-10-04 21:31:34 +0900 (Sat, 04 Oct 2014)

  New Revision: 47787

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=47787

  Log:
    test_gem_source_git.rb: drop intended error message
    
    * test/rubygems/test_gem_source_git.rb (test_rev_parse): dispose
      error message by git, which should be intended.

  Modified files:
    trunk/test/rubygems/test_gem_source_git.rb
Index: test/rubygems/test_gem_source_git.rb
===================================================================
--- test/rubygems/test_gem_source_git.rb	(revision 47786)
+++ test/rubygems/test_gem_source_git.rb	(revision 47787)
@@ -186,7 +186,7 @@ class TestGemSourceGit < Gem::TestCase https://github.com/ruby/ruby/blob/trunk/test/rubygems/test_gem_source_git.rb#L186
     source.cache
 
     e = assert_raises Gem::Exception do
-      source.rev_parse
+      capture_subprocess_io {source.rev_parse}
     end
 
     assert_equal "unable to find reference nonexistent in #{@repository}",

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]