Project

General

Profile

Patch #40014 » 40014-test.patch

Go MAEDA, 2024-08-17 06:26

View differences:

test/unit/lib/redmine/wiki_formatting/macros_test.rb
end
end
def test_macro_collapse_with_arg_contains_comma
text = %|{{collapse("Click here, to see the example", Hide example)\n*Collapsed* block of text\n}}|
result = textilizable(text)
assert_select_in result, 'a.collapsible.icon-collapsed', :text => 'Click here, to see the example'
assert_select_in result, 'a.collapsible.icon-expanded', :text => 'Hide example'
end
def test_macro_collapse_should_not_break_toc
set_language_if_valid 'en'
(2-2/2)