]> source.dussan.org Git - redmine.git/commitdiff
cleanup: rubocop: fix Layout/ClosingParenthesisIndentation in test/unit/lib/redmine...
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Thu, 21 Nov 2019 12:45:55 +0000 (12:45 +0000)
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Thu, 21 Nov 2019 12:45:55 +0000 (12:45 +0000)
git-svn-id: http://svn.redmine.org/redmine/trunk@19136 e93f8b46-1217-0410-a6f0-8f06a7374b81

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

index 6993064d77622c7aa33e5c4df2060cf74ee93254..6814c39317e9e09f60909a23f872e0fb9958dab4 100644 (file)
@@ -49,13 +49,15 @@ class GitAdapterTest < ActiveSupport::TestCase
       assert_equal true, adapter_class.client_version_above?([1])
       assert_equal true, adapter_class.client_version_above?([1, 0])
 
-      @adapter = Redmine::Scm::Adapters::GitAdapter.new(
-                    REPOSITORY_PATH,
-                    nil,
-                    nil,
-                    nil,
-                    'ISO-8859-1'
-                 )
+      @adapter =
+        Redmine::Scm::Adapters::GitAdapter.
+          new(
+            REPOSITORY_PATH,
+            nil,
+            nil,
+            nil,
+            'ISO-8859-1'
+          )
       assert @adapter
       @char_1 = 'Ü'
       @str_felix_hex  = "Felix Sch\xC3\xA4fer".b
@@ -516,13 +518,15 @@ class GitAdapterTest < ActiveSupport::TestCase
     end
 
     def test_entries_wrong_path_encoding
-      adpt = Redmine::Scm::Adapters::GitAdapter.new(
-                    REPOSITORY_PATH,
-                    nil,
-                    nil,
-                    nil,
-                    'EUC-JP'
-                 )
+      adpt =
+        Redmine::Scm::Adapters::GitAdapter.
+          new(
+            REPOSITORY_PATH,
+            nil,
+            nil,
+            nil,
+            'EUC-JP'
+          )
       entries1 = adpt.entries('latin-1-dir', '64f1f3e8')
       assert entries1
       assert_equal 3, entries1.size