Skip to content

Commit

Permalink
Test suite: Don't mess up on examples with 32 `s.
Browse files Browse the repository at this point in the history
Closes #423.
  • Loading branch information
jgm committed Aug 8, 2016
1 parent af9548a commit e834e4b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/spec_tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit e834e4b

Please sign in to comment.