Added tests for resizable entries and custom attributes

Also found some bugs. Should now have a good amount of confidence in
these features.
This commit is contained in:
Christopher Haster
2018-04-10 19:55:17 -05:00
parent ea4ded420c
commit 61f454b008
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()