1
0
mirror of https://github.com/meineerde/redmine.git synced 2025-12-19 15:01:14 +00:00

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
This commit is contained in:
Toshi MARUYAMA 2019-10-22 11:40:47 +00:00
parent ba370734a9
commit 68ada471f4

View File

@ -1130,15 +1130,13 @@ class ApplicationHelperTest < Redmine::HelperTest
end
def test_non_closing_pre_blocks_should_be_closed
raw = <<-RAW
raw = <<~RAW
<pre><code>
RAW
expected = <<-EXPECTED
expected = <<~EXPECTED
<pre><code>
</code></pre>
EXPECTED
@project = Project.find(1)
assert_equal expected.gsub(%r{[\r\n\t]}, ''), textilizable(raw).gsub(%r{[\r\n\t]}, '')
end