summaryrefslogtreecommitdiffstats
path: root/tests/units/test_raw_internals.rb
diff options
context:
space:
mode:
authorscott Chacon <schacon@agadorsparticus.(none)>2007-11-27 08:21:28 -0800
committerscott Chacon <schacon@agadorsparticus.(none)>2007-11-27 08:21:28 -0800
commit6a9db968e8563bc27b8f56f9d413159a2e14cf67 (patch)
tree5094084caae36283763eba7a1965f93ad159608a /tests/units/test_raw_internals.rb
parent07ebb951368ed31bdaebc2e820c62ced22c8bbe4 (diff)
downloadthird_party-ruby-git-6a9db968e8563bc27b8f56f9d413159a2e14cf67.zip
third_party-ruby-git-6a9db968e8563bc27b8f56f9d413159a2e14cf67.tar.gz
third_party-ruby-git-6a9db968e8563bc27b8f56f9d413159a2e14cf67.tar.xz
fixed issue with running a 'git log' with an object that won't rev-parse (file)
Diffstat (limited to 'tests/units/test_raw_internals.rb')
-rw-r--r--tests/units/test_raw_internals.rb5
1 files changed, 2 insertions, 3 deletions
diff --git a/tests/units/test_raw_internals.rb b/tests/units/test_raw_internals.rb
index 03a7916..b37a66d 100644
--- a/tests/units/test_raw_internals.rb
+++ b/tests/units/test_raw_internals.rb
@@ -22,8 +22,7 @@ class TestRawInternals < Test::Unit::TestCase
end
def test_commit_object
- g = Git.bare(@wbare, :log => Logger.new(STDOUT))
-
+ g = Git.bare(@wbare)
c = g.gcommit("v2.5")
assert_equal('test', c.message)
end
@@ -34,7 +33,7 @@ class TestRawInternals < Test::Unit::TestCase
sha = c.sha
repo = Git::Raw::Repository.new(@wbare)
- puts repo.object(sha).inspect
+ assert_equal('ex_dir', repo.object(sha).entry.first.name)
end
def t_log(g)