summaryrefslogtreecommitdiffstats
path: root/tests/units/test_lib.rb
diff options
context:
space:
mode:
authorscott Chacon <schacon@agadorsparticus.(none)>2007-11-17 08:22:49 -0800
committerscott Chacon <schacon@agadorsparticus.(none)>2007-11-17 08:22:49 -0800
commitb0d47b3112b00cb6c1ae72d6d8a43e583af117ea (patch)
tree5d8094a62450a88ccc542a7a19e724004fdb8ca8 /tests/units/test_lib.rb
parentba0f3cc565d051e79db634dbff1f1d4c71291461 (diff)
downloadthird_party-ruby-git-b0d47b3112b00cb6c1ae72d6d8a43e583af117ea.tar.gz
third_party-ruby-git-b0d47b3112b00cb6c1ae72d6d8a43e583af117ea.tar.xz
third_party-ruby-git-b0d47b3112b00cb6c1ae72d6d8a43e583af117ea.zip
significantly improved log performance
Diffstat (limited to 'tests/units/test_lib.rb')
-rw-r--r--tests/units/test_lib.rb5
1 files changed, 1 insertions, 4 deletions
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