summaryrefslogtreecommitdiffstats
path: root/test/unit/lib/redmine
diff options
context:
space:
mode:
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>2019-11-23 15:12:24 +0000
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>2019-11-23 15:12:24 +0000
commit80856bf5175b6a8e05e92b2dc17520ee132aadf5 (patch)
tree66f2e6a6df9eb12a3cc7dd627ce65806ca0ca93a /test/unit/lib/redmine
parent141b07d0c787afefa02d7712f66d8fa473386eca (diff)
downloadredmine-80856bf5175b6a8e05e92b2dc17520ee132aadf5.tar.gz
redmine-80856bf5175b6a8e05e92b2dc17520ee132aadf5.zip
cleanup: rubocop: fix Layout/IndentHeredoc in test/unit/lib/redmine/wiki_formatting_test.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@19219 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'test/unit/lib/redmine')
-rw-r--r--test/unit/lib/redmine/wiki_formatting_test.rb10
1 files changed, 4 insertions, 6 deletions
diff --git a/test/unit/lib/redmine/wiki_formatting_test.rb b/test/unit/lib/redmine/wiki_formatting_test.rb
index 1c5d4d20f..a208cf69a 100644
--- a/test/unit/lib/redmine/wiki_formatting_test.rb
+++ b/test/unit/lib/redmine/wiki_formatting_test.rb
@@ -77,14 +77,12 @@ class Redmine::WikiFormattingTest < ActiveSupport::TestCase
end
def test_hires_images_should_not_be_recognized_as_email_addresses
- raw = <<-DIFF
-Image: logo@2x.png
+ raw = <<~DIFF
+ Image: logo@2x.png
DIFF
-
- expected = <<-EXPECTED
-<p>Image: logo@2x.png</p>
+ expected = <<~EXPECTED
+ <p>Image: logo@2x.png</p>
EXPECTED
-
assert_equal expected.gsub(%r{[\r\n\t]}, ''), Redmine::WikiFormatting::NullFormatter::Formatter.new(raw).to_html.gsub(%r{[\r\n\t]}, '')
end