From fb51f27b8a1533abaf7d84bf86e33cec0d18a8ec Mon Sep 17 00:00:00 2001 From: Toshi MARUYAMA Date: Tue, 11 Jan 2011 15:23:42 +0000 Subject: [PATCH] scm: fix indents in "commit:xxx" unit test. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4692 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- test/unit/helpers/application_helper_test.rb | 22 +++++++++++--------- 1 file changed, 12 insertions(+), 10 deletions(-) diff --git a/test/unit/helpers/application_helper_test.rb b/test/unit/helpers/application_helper_test.rb index 0f638cbd0..5e42762fd 100644 --- a/test/unit/helpers/application_helper_test.rb +++ b/test/unit/helpers/application_helper_test.rb @@ -227,11 +227,12 @@ RAW def test_redmine_links_git_commit changeset_link = link_to('abcd', - { - :controller => 'repositories', - :action => 'revision', :id => 'subproject1', - :rev => 'abcd' - }, + { + :controller => 'repositories', + :action => 'revision', + :id => 'subproject1', + :rev => 'abcd', + }, :class => 'changeset', :title => 'test commit') to_test = { 'commit:abcd' => changeset_link, @@ -251,11 +252,12 @@ RAW # TODO: Bazaar commit id contains mail address, so it contains '@' and '_'. def test_redmine_links_darcs_commit changeset_link = link_to('20080308225258-98289-abcd456efg.gz', - { - :controller => 'repositories', - :action => 'revision', :id => 'subproject1', - :rev => '123' - }, + { + :controller => 'repositories', + :action => 'revision', + :id => 'subproject1', + :rev => '123', + }, :class => 'changeset', :title => 'test commit') to_test = { 'commit:20080308225258-98289-abcd456efg.gz' => changeset_link,