Defect #33432 » 33432-test.patch
test/helpers/application_helper_test.rb | ||
---|---|---|
1921 | 1921 |
assert_nil render_if_exist(:partial => 'non_exist_partial') |
1922 | 1922 |
end |
1923 | 1923 | |
1924 |
def test_catch_macros_should_support_lf_and_crlf_newline |
|
1925 |
macro_lf = "{{collapse(text1)\n}}" |
|
1926 |
macro_crlf = "{{collapse(text1)\r\n}}" |
|
1927 |
text = +"#{macro_lf}\n#{macro_crlf}\r\n}}" |
|
1928 |
macros = catch_macros(text) |
|
1929 |
assert_equal macro_lf, macros[0] |
|
1930 |
assert_equal macro_crlf, macros[1] |
|
1931 |
end |
|
1932 | ||
1924 | 1933 |
private |
1925 | 1934 | |
1926 | 1935 |
def wiki_links_with_special_characters |
- « Previous
- 1
- …
- 3
- 4
- 5
- Next »