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