minor changes to make the test suite green again

This commit is contained in:
Zahary Karadjov 2012-04-15 02:54:12 +03:00
commit 1ba31f8df7
3 changed files with 7 additions and 14 deletions

View file

@ -1738,7 +1738,6 @@ when isMainModule:
else:
assert false
var matches: array[0..5, string]
if match("abcdefg", peg"c {d} ef {g}", matches, 2):
assert matches[0] == "d"
assert matches[1] == "g"