WIP Added tests over entries + attributes

This commit is contained in:
Christopher Haster
2018-04-10 19:55:17 -05:00
parent 7d3c2be49a
commit c8323112ee
6 changed files with 607 additions and 66 deletions

View File

@@ -10,7 +10,7 @@ def generate(test):
template = file.read()
lines = []
for line in re.split('(?<=[;{}])\n', test.read()):
for line in re.split('(?<=(?:.;| [{}]))\n', test.read()):
match = re.match('(?: *\n)*( *)(.*)=>(.*);', line, re.DOTALL | re.MULTILINE)
if match:
tab, test, expect = match.groups()