From e834e4b16cf6cfc1df1a38eb536429c624afde01 Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Mon, 8 Aug 2016 16:02:34 +0200 Subject: Test suite: Don't mess up on examples with 32 `s. Closes #423. --- test/spec_tests.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test') 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 -- cgit v1.2.3