Commit 444733ea authored by tmaruyama's avatar tmaruyama
Browse files

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

git-svn-id: https://svn.redmine.org/redmine/trunk@6192 e93f8b46-1217-0410-a6f0-8f06a7374b81
parent 319c9446
......@@ -374,6 +374,12 @@ begin
assert_equal [], @adapter.diff('invalid', '713f4944648826f5')
end
def test_diff_revision_invalid
assert_nil @adapter.diff(nil, 'abcd1234efgh')
assert_nil @adapter.diff(nil, '713f4944648826f5', 'abcd1234efgh')
assert_nil @adapter.diff(nil, 'abcd1234efgh', '713f4944648826f5')
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