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: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9541 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Toshi MARUYAMA 2012-04-27 01:33:04 +00:00
parent d19a7dee42
commit 6fcea5ef9d
1 changed files with 5 additions and 5 deletions

View File

@ -489,7 +489,7 @@ begin
def test_cat_revision_invalid def test_cat_revision_invalid
assert @adapter.cat('README') assert @adapter.cat('README')
assert_nil @adapter.cat('README', 'abcd1234efgh') assert_nil @adapter.cat('README', '1234abcd5678')
end end
def test_diff_path_invalid def test_diff_path_invalid
@ -497,9 +497,9 @@ begin
end end
def test_diff_revision_invalid def test_diff_revision_invalid
assert_nil @adapter.diff(nil, 'abcd1234efgh') assert_nil @adapter.diff(nil, '1234abcd5678')
assert_nil @adapter.diff(nil, '713f4944648826f5', 'abcd1234efgh') assert_nil @adapter.diff(nil, '713f4944648826f5', '1234abcd5678')
assert_nil @adapter.diff(nil, 'abcd1234efgh', '713f4944648826f5') assert_nil @adapter.diff(nil, '1234abcd5678', '713f4944648826f5')
end end
def test_annotate_path_invalid def test_annotate_path_invalid
@ -508,7 +508,7 @@ begin
def test_annotate_revision_invalid def test_annotate_revision_invalid
assert @adapter.annotate('README') assert @adapter.annotate('README')
assert_nil @adapter.annotate('README', 'abcd1234efgh') assert_nil @adapter.annotate('README', '1234abcd5678')
end end
private private