diff options
Diffstat (limited to 'test/tc_converters_text2html.rb')
-rwxr-xr-x | test/tc_converters_text2html.rb | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/test/tc_converters_text2html.rb b/test/tc_converters_text2html.rb index 6087b87..34de18f 100755 --- a/test/tc_converters_text2html.rb +++ b/test/tc_converters_text2html.rb @@ -273,4 +273,15 @@ in which he interviewed me about the award. EOF assert_equal(output, input.unescape_html) end + + def test_unescape_hadess + input = <<-EOF +Yay! Got <a href="http://pilot-link.org/">pilot-link</a> to sync over Bluetooth, without the crappy 'Set up a PPP server' bit. Now to download <a href="http://palmsource.palmgear.com/index.cfm?fuseaction=software.showsoftware&prodID=52957">BtSync</a>. + EOF + + output = <<-EOF + EOF + assert_equal(output, input.text2html) + end + end |