Skip to content

Commit

Permalink
Add two test cases from (old, fixed) reddit defect described in
Browse files Browse the repository at this point in the history
  • Loading branch information
David Parsons committed Mar 16, 2010
1 parent 39e8c7f commit 34f491e
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions tests/code.t
Expand Up @@ -21,6 +21,11 @@ try '`>`' '`>`' '<p><code>&gt;</code></p>'
try '`` ` ``' '`` ` ``' '<p><code>`</code></p>'
try '````` ``` `' '````` ``` `' '<p><code>``</code> `</p>'
try '````` ` ```' '````` ` ```' '<p><code>`` `</code></p>'
try 'backslashes in code(1)' ' printf "%s: \n", $1;' \
'<pre><code>printf "%s: \n", $1;
</code></pre>'
try 'backslashes in code(2)' '`printf "%s: \n", $1;`' \
'<p><code>printf "%s: \n", $1;</code></p>'

summary $0
exit $rc

0 comments on commit 34f491e

Please sign in to comment.