Commit 66106d8b authored by tmaruyama's avatar tmaruyama

scm: git: fix test revision value of unit lib test

Hash value range is from 0 to 9 and a to f

git-svn-id: https://svn.redmine.org/redmine/trunk@9541 e93f8b46-1217-0410-a6f0-8f06a7374b81
parent d14e314c
......@@ -489,7 +489,7 @@ begin
def test_cat_revision_invalid
assert @adapter.cat('README')
assert_nil @adapter.cat('README', 'abcd1234efgh')
assert_nil @adapter.cat('README', '1234abcd5678')
end
def test_diff_path_invalid
......@@ -497,9 +497,9 @@ begin
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')
assert_nil @adapter.diff(nil, '1234abcd5678')
assert_nil @adapter.diff(nil, '713f4944648826f5', '1234abcd5678')
assert_nil @adapter.diff(nil, '1234abcd5678', '713f4944648826f5')
end
def test_annotate_path_invalid
......@@ -508,7 +508,7 @@ begin
def test_annotate_revision_invalid
assert @adapter.annotate('README')
assert_nil @adapter.annotate('README', 'abcd1234efgh')
assert_nil @adapter.annotate('README', '1234abcd5678')
end
private
......
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