From 27ce2d1328427866ef02aebce6f54ac9dbb34991 Mon Sep 17 00:00:00 2001 From: nobu Date: Sat, 4 Oct 2014 12:31:34 +0000 Subject: [PATCH] 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. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47787 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- test/rubygems/test_gem_source_git.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/rubygems/test_gem_source_git.rb b/test/rubygems/test_gem_source_git.rb index 4b1c65a51b..7e5bccacae 100644 --- a/test/rubygems/test_gem_source_git.rb +++ b/test/rubygems/test_gem_source_git.rb @@ -186,7 +186,7 @@ class TestGemSourceGit < Gem::TestCase 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}",