summaryrefslogtreecommitdiffstats
path: root/test/unit
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2015-11-11 07:34:15 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2015-11-11 07:34:15 +0000
commit868d949f47c2767f2d8943edf530dfbc9d00fb73 (patch)
treeb185c752a67a7e748cb262897075495ca20c5681 /test/unit
parentd9a3e7e258364d5b7d87fe8726a61bff8c0e317c (diff)
downloadredmine-868d949f47c2767f2d8943edf530dfbc9d00fb73.tar.gz
redmine-868d949f47c2767f2d8943edf530dfbc9d00fb73.zip
Reverts r14812 (#6969).
git-svn-id: http://svn.redmine.org/redmine/trunk@14863 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'test/unit')
-rw-r--r--test/unit/lib/redmine/wiki_formatting/textile_formatter_test.rb9
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 de0e5086e..65a91b20a 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 &lt;script&gt;'
)
end
- def test_should_escape_less_than_signs
- assert_html_output(
- '<' => '&lt;',
- '1 < 2' => '1 &lt; 2'
- )
- end
-
def test_use_of_backslashes_followed_by_numbers_in_headers
assert_html_output({
'h1. 2009\02\09' => '<h1>2009\02\09</h1>'