aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rwxr-xr-xtest/spec_tests.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/spec_tests.py b/test/spec_tests.py
index 365ff75..57160b7 100755
--- a/test/spec_tests.py
+++ b/test/spec_tests.py
@@ -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