summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2014-10-04 12:31:34 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2014-10-04 12:31:34 +0000
commit27ce2d1328427866ef02aebce6f54ac9dbb34991 (patch)
treed246a6cc776e336920a5959528cc2e7f2ce4156f
parent11ad7c4dbe323de89695ac6cf107d3094174e16f (diff)
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
-rw-r--r--test/rubygems/test_gem_source_git.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/rubygems/test_gem_source_git.rb b/test/rubygems/test_gem_source_git.rb
index 4b1c65a51b9..7e5bccacaec 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}",