summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>2019-11-24 05:26:22 +0000
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>2019-11-24 05:26:22 +0000
commitb4bfc18bb49fa19de8faa281d53653f5c5a76cb6 (patch)
tree99e2995cec7a57f8313ce2933b5f3f8e9d9c0ac0 /test
parent9b362ca0433edf0e0f172f60298626515fcdff89 (diff)
downloadredmine-b4bfc18bb49fa19de8faa281d53653f5c5a76cb6.tar.gz
redmine-b4bfc18bb49fa19de8faa281d53653f5c5a76cb6.zip
cleanup: rubocop: fix Layout/SpaceInsideParens in test/unit/lib/redmine/wiki_formatting/textile_formatter_test.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@19228 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'test')
-rw-r--r--test/unit/lib/redmine/wiki_formatting/textile_formatter_test.rb6
1 files changed, 5 insertions, 1 deletions
diff --git a/test/unit/lib/redmine/wiki_formatting/textile_formatter_test.rb b/test/unit/lib/redmine/wiki_formatting/textile_formatter_test.rb
index 1065f48fd..2f7a36be7 100644
--- a/test/unit/lib/redmine/wiki_formatting/textile_formatter_test.rb
+++ b/test/unit/lib/redmine/wiki_formatting/textile_formatter_test.rb
@@ -621,7 +621,11 @@ class Redmine::WikiFormatting::TextileFormatterTest < ActionView::TestCase
def assert_html_output(to_test, expect_paragraph = true)
to_test.each do |text, expected|
- assert_equal(( expect_paragraph ? "<p>#{expected}</p>" : expected ), @formatter.new(text).to_html, "Formatting the following text failed:\n===\n#{text}\n===\n")
+ assert_equal(
+ (expect_paragraph ? "<p>#{expected}</p>" : expected),
+ @formatter.new(text).to_html,
+ "Formatting the following text failed:\n===\n#{text}\n===\n"
+ )
end
end