scm: bazaar: add unit adapter test of cat invalid path.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5917 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
parent
4883fcdb1e
commit
15d000f07a
@ -26,6 +26,10 @@ begin
|
|||||||
assert cat =~ /Write the contents of a file as of a given revision to standard output/
|
assert cat =~ /Write the contents of a file as of a given revision to standard output/
|
||||||
end
|
end
|
||||||
|
|
||||||
|
def test_cat_path_invalid
|
||||||
|
assert_nil @adapter.cat('invalid')
|
||||||
|
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…
x
Reference in New Issue
Block a user