Permalink
Browse files

Test suite: Don't mess up on examples with 32 `s.

Closes #423.
  • Loading branch information...
1 parent af9548a commit e834e4b16cf6cfc1df1a38eb536429c624afde01 @jgm committed Aug 8, 2016
Showing with 1 addition and 1 deletion.
  1. +1 −1 test/spec_tests.py
View
@@ -93,7 +93,7 @@ def get_tests(specfile):
l = line.strip()
if l == "`" * 32 + " example":
state = 1
- elif l == "`" * 32:
+ elif state == 2 and l == "`" * 32:
state = 0
example_number = example_number + 1
end_line = line_number

0 comments on commit e834e4b

Please sign in to comment.