scm: bazaar: add unit adapter test of cat invalid revision.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5918 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
parent
15d000f07a
commit
a01bd88379
|
@ -30,6 +30,10 @@ begin
|
||||||
assert_nil @adapter.cat('invalid')
|
assert_nil @adapter.cat('invalid')
|
||||||
end
|
end
|
||||||
|
|
||||||
|
def test_cat_revision_invalid
|
||||||
|
assert_nil @adapter.cat('doc-mkdir.txt', '12345678')
|
||||||
|
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
|
||||||
|
|
Loading…
Reference in New Issue