diff options
author | scott Chacon <schacon@agadorsparticus.(none)> | 2007-11-17 08:22:49 -0800 |
---|---|---|
committer | scott Chacon <schacon@agadorsparticus.(none)> | 2007-11-17 08:22:49 -0800 |
commit | b0d47b3112b00cb6c1ae72d6d8a43e583af117ea (patch) | |
tree | 5d8094a62450a88ccc542a7a19e724004fdb8ca8 /tests/units/test_lib.rb | |
parent | ba0f3cc565d051e79db634dbff1f1d4c71291461 (diff) | |
download | third_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.rb | 5 |
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 |