summaryrefslogtreecommitdiffstats
path: root/test/unit/lib/redmine
diff options
context:
space:
mode:
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>2019-11-24 12:40:52 +0000
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>2019-11-24 12:40:52 +0000
commite164ad7f1f1e00eacbe60382cca0d0d66fccd4da (patch)
tree9b201dfdf349235f829c3662184c16aee9238431 /test/unit/lib/redmine
parent1b72a6a03ea8eb1532b4c6692ee7f3fe002bc482 (diff)
downloadredmine-e164ad7f1f1e00eacbe60382cca0d0d66fccd4da.tar.gz
redmine-e164ad7f1f1e00eacbe60382cca0d0d66fccd4da.zip
cleanup: rubocop: fix Layout/AlignArguments in test/unit/lib/redmine/wiki_formatting/markdown_formatter_test.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@19246 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'test/unit/lib/redmine')
-rw-r--r--test/unit/lib/redmine/wiki_formatting/markdown_formatter_test.rb5
1 files changed, 3 insertions, 2 deletions
diff --git a/test/unit/lib/redmine/wiki_formatting/markdown_formatter_test.rb b/test/unit/lib/redmine/wiki_formatting/markdown_formatter_test.rb
index f52f1a169..62b47902b 100644
--- a/test/unit/lib/redmine/wiki_formatting/markdown_formatter_test.rb
+++ b/test/unit/lib/redmine/wiki_formatting/markdown_formatter_test.rb
@@ -173,9 +173,10 @@ class Redmine::WikiFormatting::MarkdownFormatterTest < ActionView::TestCase
def test_update_section_should_not_escape_pre_content_outside_section
text = STR_WITH_PRE.join("\n\n")
replacement = "New text"
-
- assert_equal [STR_WITH_PRE[0..1], "New text"].flatten.join("\n\n"),
+ assert_equal(
+ [STR_WITH_PRE[0..1], "New text"].flatten.join("\n\n"),
@formatter.new(text).update_section(3, replacement)
+ )
end
def test_should_support_underlined_text