From 68ada471f4264dfbdfa285a2589eca6f07c37a6f Mon Sep 17 00:00:00 2001 From: Toshi MARUYAMA Date: Tue, 22 Oct 2019 11:40:47 +0000 Subject: [PATCH] code cleanup: rubocop: fix Layout/ClosingHeredocIndentation in ApplicationHelperTest#test_non_closing_pre_blocks_should_be_closed git-svn-id: http://svn.redmine.org/redmine/trunk@18807 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- test/helpers/application_helper_test.rb | 16 +++++++--------- 1 file changed, 7 insertions(+), 9 deletions(-) diff --git a/test/helpers/application_helper_test.rb b/test/helpers/application_helper_test.rb index 6103e1d5f..fe127ff7b 100644 --- a/test/helpers/application_helper_test.rb +++ b/test/helpers/application_helper_test.rb @@ -1130,15 +1130,13 @@ class ApplicationHelperTest < Redmine::HelperTest end def test_non_closing_pre_blocks_should_be_closed - raw = <<-RAW -

-RAW
-
-    expected = <<-EXPECTED
-

-
-EXPECTED - + raw = <<~RAW +

+    RAW
+    expected = <<~EXPECTED
+      

+      
+ EXPECTED @project = Project.find(1) assert_equal expected.gsub(%r{[\r\n\t]}, ''), textilizable(raw).gsub(%r{[\r\n\t]}, '') end