More tests
This commit is contained in:
parent
e0df6c8a6a
commit
510e44a61a
3 changed files with 18 additions and 0 deletions
|
@ -42,4 +42,10 @@ class NoWikiTest < Test::Unit::TestCase
|
|||
)
|
||||
end
|
||||
|
||||
def test_sanitize_nowiki_bad_utf8
|
||||
match(NoWiki, "<nowiki>\357elephant & \302ivory</nowiki>",
|
||||
:plain_text => "\357\277\275elephant & \357\277\275ivory"
|
||||
)
|
||||
end
|
||||
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue