scm: git: add unit adapter test of annotate invalid path (#8767).

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6193 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Toshi MARUYAMA 2011-07-08 02:06:16 +00:00
parent e520a3fbaa
commit e510f2e29e
1 changed files with 4 additions and 0 deletions

View File

@ -380,6 +380,10 @@ begin
assert_nil @adapter.diff(nil, 'abcd1234efgh', '713f4944648826f5') assert_nil @adapter.diff(nil, 'abcd1234efgh', '713f4944648826f5')
end end
def test_annotate_path_invalid
assert_nil @adapter.annotate('invalid')
end
private private
def test_scm_version_for(scm_command_version, version) def test_scm_version_for(scm_command_version, version)