scm: bazaar: add unit adapter test of diff invalid path.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5921 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Toshi MARUYAMA 2011-05-26 06:16:00 +00:00
parent f4ba1a7082
commit 160328ee2e
1 changed files with 4 additions and 0 deletions

View File

@ -34,6 +34,10 @@ begin
assert_nil @adapter.cat('doc-mkdir.txt', '12345678') assert_nil @adapter.cat('doc-mkdir.txt', '12345678')
end end
def test_diff_path_invalid
assert_equal [], @adapter.diff('invalid', 1)
end
def test_annotate def test_annotate
annotate = @adapter.annotate('doc-mkdir.txt') annotate = @adapter.annotate('doc-mkdir.txt')
assert_equal 17, annotate.lines.size assert_equal 17, annotate.lines.size