From 303ffc868266400a518602d2e9e9285361029cb2 Mon Sep 17 00:00:00 2001 From: scott Chacon Date: Mon, 19 Nov 2007 07:14:20 -0800 Subject: changed logging to be far more efficient if you're accessing all the commit objects --- tests/units/test_lib.rb | 3 +++ 1 file changed, 3 insertions(+) (limited to 'tests/units') 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 -- cgit