diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2015-11-11 07:35:03 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2015-11-11 07:35:03 +0000 |
commit | ab561918df7949d8adac60b37874aa6f70183b87 (patch) | |
tree | 2dbbda6abc28cab58be5eafd58dcc46b024c3918 /test/unit | |
parent | 40ba35f6c228fa12a4b409c1c81723969554a7ad (diff) | |
download | redmine-ab561918df7949d8adac60b37874aa6f70183b87.tar.gz redmine-ab561918df7949d8adac60b37874aa6f70183b87.zip |
Merged r14863 (#6969).
git-svn-id: http://svn.redmine.org/redmine/branches/3.1-stable@14864 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'test/unit')
-rw-r--r-- | test/unit/lib/redmine/wiki_formatting/textile_formatter_test.rb | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/test/unit/lib/redmine/wiki_formatting/textile_formatter_test.rb b/test/unit/lib/redmine/wiki_formatting/textile_formatter_test.rb index b15893744..6d816537e 100644 --- a/test/unit/lib/redmine/wiki_formatting/textile_formatter_test.rb +++ b/test/unit/lib/redmine/wiki_formatting/textile_formatter_test.rb @@ -160,19 +160,12 @@ EXPECTED assert_equal expected.gsub(%r{\s+}, ''), to_html(raw).gsub(%r{\s+}, '') end - def test_should_escape_unallowed_tags + def test_escaping assert_html_output( 'this is a <script>' => 'this is a <script>' ) end - def test_should_escape_less_than_signs - assert_html_output( - '<' => '<', - '1 < 2' => '1 < 2' - ) - end - def test_use_of_backslashes_followed_by_numbers_in_headers assert_html_output({ 'h1. 2009\02\09' => '<h1>2009\02\09</h1>' |