ordering of variables should work now

This commit is contained in:
David Halter
2012-05-02 16:14:48 +02:00
parent 532c78b024
commit 29f05aad8f
6 changed files with 100 additions and 17 deletions

View File

@@ -54,6 +54,10 @@ def completion_test(source):
correct = re.search(r'(?:^|\s)#\?\s*([^\n]+)', line).group(1)
except:
correct = None
else:
# reset the test, if only one specific test is wanted
if len(sys.argv) > 2 and line_nr != int(sys.argv[2]):
correct = None
return tests, fails
# completion tests: