- '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'
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