summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorGo MAEDA <maeda@farend.jp>2019-01-10 09:07:05 +0000
committerGo MAEDA <maeda@farend.jp>2019-01-10 09:07:05 +0000
commitbce44769ffe8286d7b256370656e718cae7e2272 (patch)
treeaacaa217608034ad5ab61e28290570d65842fecb /test
parent6ece31ff63e56815cd8421b3f3ad069dd8904c09 (diff)
downloadredmine-bce44769ffe8286d7b256370656e718cae7e2272.tar.gz
redmine-bce44769ffe8286d7b256370656e718cae7e2272.zip
Redmine::WikiFormattingTest#test_links_separated_with_line_break_should_link tests nothing (#30347).
Patch by Yuichi HARADA. git-svn-id: http://svn.redmine.org/redmine/trunk@17785 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'test')
-rw-r--r--test/unit/lib/redmine/wiki_formatting_test.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/unit/lib/redmine/wiki_formatting_test.rb b/test/unit/lib/redmine/wiki_formatting_test.rb
index fb17d720b..6f05d3ef9 100644
--- a/test/unit/lib/redmine/wiki_formatting_test.rb
+++ b/test/unit/lib/redmine/wiki_formatting_test.rb
@@ -65,6 +65,7 @@ DIFF
<a class="external" href="http://www.redmine.org">http://www.redmine.org</a></p>
EXPECTED
+ assert_equal expected.gsub(%r{[\r\n\t]}, ''), Redmine::WikiFormatting::NullFormatter::Formatter.new(raw).to_html.gsub(%r{[\r\n\t]}, '')
end
def test_supports_section_edit