Project

General

Profile

Defect #33432 » 33432-test.patch

Go MAEDA, 2020-06-06 08:31

View differences:

test/helpers/application_helper_test.rb
assert_nil render_if_exist(:partial => 'non_exist_partial')
end
def test_catch_macros_should_support_lf_and_crlf_newline
macro_lf = "{{collapse(text1)\n}}"
macro_crlf = "{{collapse(text1)\r\n}}"
text = +"#{macro_lf}\n#{macro_crlf}\r\n}}"
macros = catch_macros(text)
assert_equal macro_lf, macros[0]
assert_equal macro_crlf, macros[1]
end
private
def wiki_links_with_special_characters
(5-5/5)