summaryrefslogtreecommitdiffstats
path: root/tests/units
diff options
context:
space:
mode:
authorscott Chacon <schacon@agadorsparticus.(none)>2007-11-19 07:14:20 -0800
committerscott Chacon <schacon@agadorsparticus.(none)>2007-11-19 07:14:20 -0800
commit303ffc868266400a518602d2e9e9285361029cb2 (patch)
tree62ef43fd48df23b55e01733a88fc13f616cf615f /tests/units
parentf64d5462fa5323fc81387f79eebe9e1ae9eb0b08 (diff)
downloadthird_party-ruby-git-303ffc868266400a518602d2e9e9285361029cb2.tar.gz
third_party-ruby-git-303ffc868266400a518602d2e9e9285361029cb2.tar.xz
third_party-ruby-git-303ffc868266400a518602d2e9e9285361029cb2.zip
changed logging to be far more efficient if you're accessing all the commit objects
Diffstat (limited to 'tests/units')
-rw-r--r--tests/units/test_lib.rb3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/units/test_lib.rb b/tests/units/test_lib.rb
index 9a3479b..f9170e6 100644
--- a/tests/units/test_lib.rb
+++ b/tests/units/test_lib.rb
@@ -44,6 +44,9 @@ class TestLib < Test::Unit::TestCase
a = @lib.log_commits :count => 20, :path_limiter => 'ex_dir/'
assert_equal(1, a.size)
+
+ a = @lib.full_log_commits :count => 20
+ assert_equal(20, a.size)
end
def test_revparse