mirror of
https://github.com/redmine/redmine.git
synced 2025-11-12 00:06:01 +01:00
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:
@@ -26,6 +26,10 @@ begin
|
||||
assert cat =~ /Write the contents of a file as of a given revision to standard output/
|
||||
end
|
||||
|
||||
def test_cat_path_invalid
|
||||
assert_nil @adapter.cat('invalid')
|
||||
end
|
||||
|
||||
def test_annotate
|
||||
annotate = @adapter.annotate('doc-mkdir.txt')
|
||||
assert_equal 17, annotate.lines.size
|
||||
|
||||
Reference in New Issue
Block a user