From b0d47b3112b00cb6c1ae72d6d8a43e583af117ea Mon Sep 17 00:00:00 2001 From: scott Chacon Date: Sat, 17 Nov 2007 08:22:49 -0800 Subject: significantly improved log performance --- tests/units/test_lib.rb | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'tests/units/test_lib.rb') diff --git a/tests/units/test_lib.rb b/tests/units/test_lib.rb index 5afb4ec..9a3479b 100644 --- a/tests/units/test_lib.rb +++ b/tests/units/test_lib.rb @@ -42,10 +42,7 @@ class TestLib < Test::Unit::TestCase a = @lib.log_commits :count => 20, :between => ['v2.5', 'v2.6'] assert_equal(2, a.size) - a = @lib.log_commits :count => 20, :object => 'example.txt' - assert_equal(20, a.size) - - a = @lib.log_commits :count => 20, :object => 'ex_dir/ex.txt' + a = @lib.log_commits :count => 20, :path_limiter => 'ex_dir/' assert_equal(1, a.size) end -- cgit