]> source.dussan.org Git - redmine.git/commitdiff
shorten long line of test/unit/lib/redmine/scm/adapters/cvs_adapter_test.rb
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Sat, 21 Nov 2020 13:51:42 +0000 (13:51 +0000)
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Sat, 21 Nov 2020 13:51:42 +0000 (13:51 +0000)
git-svn-id: http://svn.redmine.org/redmine/trunk@20456 e93f8b46-1217-0410-a6f0-8f06a7374b81

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

index f0ceca3007d9d0ed76ee3d00ebc00b32af45791e..fab74142f43661c4c85455bdcb51044ba64e770b 100644 (file)
@@ -30,9 +30,13 @@ class CvsAdapterTest < ActiveSupport::TestCase
     end
 
     def test_scm_version
-      to_test = { "\nConcurrent Versions System (CVS) 1.12.13 (client/server)\n"  => [1,12,13],
-                  "\r\n1.12.12\r\n1.12.11"                   => [1,12,12],
-                  "1.12.11\r\n1.12.10\r\n"                   => [1,12,11]}
+      to_test =
+        {
+          "\nConcurrent Versions System (CVS) 1.12.13 (client/server)\n" =>
+            [1, 12, 13],
+          "\r\n1.12.12\r\n1.12.11" => [1, 12, 12],
+          "1.12.11\r\n1.12.10\r\n" => [1, 12, 11]
+        }
       to_test.each do |s, v|
         test_scm_version_for(s, v)
       end