Skip to content

Commit

Permalink
Add a test to catch borked escaping; #167
Browse files Browse the repository at this point in the history
  • Loading branch information
chadwhitacre committed Apr 15, 2013
1 parent 9a746e2 commit da63a21
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions tests/test_resources_generics.py
Expand Up @@ -104,6 +104,16 @@ def test_multiple_escapes():
def test_long_break():
check_escape('/[----------]', '[----------]')

def test_escaped_pages():
raw = '''\
1
[----]
2
\[----]
3
'''
check_page_content(raw, ['1\n', '2\n[----]3\n'])

#SPECLINE TESTS
###############

Expand Down

0 comments on commit da63a21

Please sign in to comment.