test/spec_tests.py: Make ready for spec.txt from cmark-gfm project. This allows easier checking of our GFM dialect compatibility.
diff --git a/test/spec_tests.py b/test/spec_tests.py
index 57160b7..c739e5f 100755
--- a/test/spec_tests.py
+++ b/test/spec_tests.py
@@ -91,7 +91,8 @@ def get_tests(specfile):
for line in specf:
line_number = line_number + 1
l = line.strip()
- if l == "`" * 32 + " example":
+ #if l == "`" * 32 + " example":
+ if re.match("`{32} example( [a-z]{1,})?", l):
state = 1
elif state == 2 and l == "`" * 32:
state = 0