Commit 21b58165 authored by tmaruyama's avatar tmaruyama
Browse files

scm: git: add unit adapter test of cat invalid revision (#8767).

git-svn-id: https://svn.redmine.org/redmine/trunk@6190 e93f8b46-1217-0410-a6f0-8f06a7374b81
parent dab602e7
......@@ -365,6 +365,11 @@ begin
assert_nil @adapter.cat('invalid')
end
def test_cat_revision_invalid
assert @adapter.cat('README')
assert_nil @adapter.cat('README', 'abcd1234efgh')
end
private
def test_scm_version_for(scm_command_version, version)
......
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