Skip to content

Commit 858f323

Browse files
committed
fix source indent of MercurialAdapterTest
git-svn-id: http://svn.redmine.org/redmine/trunk@20041 e93f8b46-1217-0410-a6f0-8f06a7374b81
1 parent 0d01ffc commit 858f323

File tree

1 file changed

+17
-16
lines changed

1 file changed

+17
-16
lines changed

test/unit/lib/redmine/scm/adapters/mercurial_adapter_test.rb

Lines changed: 17 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -50,29 +50,30 @@ def setup
5050
end
5151

5252
def test_hgversion
53-
to_test = { "Mercurial Distributed SCM (version 0.9.5)\n" => [0,9,5],
54-
"Mercurial Distributed SCM (1.0)\n" => [1,0],
55-
"Mercurial Distributed SCM (1e4ddc9ac9f7+20080325)\n" => nil,
56-
"Mercurial Distributed SCM (1.0.1+20080525)\n" => [1,0,1],
57-
"Mercurial Distributed SCM (1916e629a29d)\n" => nil,
58-
"Mercurial SCM Distribuito (versione 0.9.5)\n" => [0,9,5],
59-
"(1.6)\n(1.7)\n(1.8)" => [1,6],
60-
"(1.7.1)\r\n(1.8.1)\r\n(1.9.1)" => [1,7,1]}
61-
53+
to_test = {
54+
"Mercurial Distributed SCM (version 0.9.5)\n" => [0, 9, 5],
55+
"Mercurial Distributed SCM (1.0)\n" => [1, 0],
56+
"Mercurial Distributed SCM (1e4ddc9ac9f7+20080325)\n" => nil,
57+
"Mercurial Distributed SCM (1.0.1+20080525)\n" => [1, 0, 1],
58+
"Mercurial Distributed SCM (1916e629a29d)\n" => nil,
59+
"Mercurial SCM Distribuito (versione 0.9.5)\n" => [0, 9, 5],
60+
"(1.6)\n(1.7)\n(1.8)" => [1, 6],
61+
"(1.7.1)\r\n(1.8.1)\r\n(1.9.1)" => [1, 7, 1]
62+
}
6263
to_test.each do |s, v|
6364
test_hgversion_for(s, v)
6465
end
6566
end
6667

6768
def test_template_path
6869
to_test = {
69-
[1,2] => "1.0",
70-
[] => "1.0",
71-
[1,2,1] => "1.0",
72-
[1,7] => "1.0",
73-
[1,7,1] => "1.0",
74-
[2,0] => "1.0",
75-
}
70+
[1, 2] => "1.0",
71+
[] => "1.0",
72+
[1, 2, 1] => "1.0",
73+
[1, 7] => "1.0",
74+
[1, 7, 1] => "1.0",
75+
[2, 0] => "1.0",
76+
}
7677
to_test.each do |v, template|
7778
test_template_path_for(v, template)
7879
end

0 commit comments

Comments
 (0)