diff options
author | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2012-04-27 01:33:04 +0000 |
---|---|---|
committer | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2012-04-27 01:33:04 +0000 |
commit | 6fcea5ef9da502ad07dfa145d551649170f0d904 (patch) | |
tree | 3757dcc0d74668f0d629b86256f7f88fb19519fd /test/unit | |
parent | d19a7dee42b98f3e595ec9d608332acefdfd7a35 (diff) | |
download | redmine-6fcea5ef9da502ad07dfa145d551649170f0d904.tar.gz redmine-6fcea5ef9da502ad07dfa145d551649170f0d904.zip |
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
Diffstat (limited to 'test/unit')
-rw-r--r-- | test/unit/lib/redmine/scm/adapters/git_adapter_test.rb | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/test/unit/lib/redmine/scm/adapters/git_adapter_test.rb b/test/unit/lib/redmine/scm/adapters/git_adapter_test.rb index b73018f07..c5353457e 100644 --- a/test/unit/lib/redmine/scm/adapters/git_adapter_test.rb +++ b/test/unit/lib/redmine/scm/adapters/git_adapter_test.rb @@ -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 |