diff --git a/.rubocop_todo.yml b/.rubocop_todo.yml index 0a7dea724..386de908b 100644 --- a/.rubocop_todo.yml +++ b/.rubocop_todo.yml @@ -318,7 +318,6 @@ Layout/SpaceInsideParens: - 'test/unit/changeset_test.rb' - 'test/unit/issue_subtasking_test.rb' - 'test/unit/lib/redmine/export/pdf_test.rb' - - 'test/unit/lib/redmine/wiki_formatting/textile_formatter_test.rb' - 'test/unit/query_test.rb' - 'test/unit/repository_test.rb' 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 ? "
#{expected}
" : expected ), @formatter.new(text).to_html, "Formatting the following text failed:\n===\n#{text}\n===\n") + assert_equal( + (expect_paragraph ? "#{expected}
" : expected), + @formatter.new(text).to_html, + "Formatting the following text failed:\n===\n#{text}\n===\n" + ) end end