Commit 09314fb4 authored by tmaruyama's avatar tmaruyama

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

git-svn-id: https://svn.redmine.org/redmine/trunk@5922 e93f8b46-1217-0410-a6f0-8f06a7374b81
parent 396f7e1d
......@@ -38,6 +38,11 @@ begin
assert_equal [], @adapter.diff('invalid', 1)
end
def test_diff_revision_invalid
assert_equal [], @adapter.diff(nil, 12345678)
assert_equal [], @adapter.diff(nil, 12345678, 87654321)
end
def test_annotate
annotate = @adapter.annotate('doc-mkdir.txt')
assert_equal 17, annotate.lines.size
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment