scm: git: add unit adapter test of annotate invalid revision (#8767).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6194 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
parent
e510f2e29e
commit
185dcb9877
|
@ -384,6 +384,11 @@ begin
|
|||
assert_nil @adapter.annotate('invalid')
|
||||
end
|
||||
|
||||
def test_annotate_revision_invalid
|
||||
assert @adapter.annotate('README')
|
||||
assert_nil @adapter.annotate('README', 'abcd1234efgh')
|
||||
end
|
||||
|
||||
private
|
||||
|
||||
def test_scm_version_for(scm_command_version, version)
|
||||
|
|
Loading…
Reference in New Issue