parent
2e49065031
commit
eaa06e62eb
9 changed files with 58 additions and 33 deletions
|
@ -23,6 +23,8 @@ for path in TEST_LIST:
|
|||
tests = re.split(r'test\s*(.+?)\s*\[\[.*?\n', contents)[1:]
|
||||
testit = iter(tests)
|
||||
for name, details in zip(testit, testit):
|
||||
pfm = re.search(r'\n\s*\]\].*?parse\s*fails', details)
|
||||
if pfm: continue # skip examples that don't parse
|
||||
em = re.search(r'\n\s*\]\]', details)
|
||||
if not em: continue
|
||||
example = details[:em.start()+1]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue