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

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