Defect #33432 » 33432-test.patch
| 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
|
||
- « Previous
- 1
- …
- 3
- 4
- 5
- Next »