Add anyCh test

This commit is contained in:
Florian Schroedl
2022-08-26 16:23:43 +02:00
parent ceddd4abb9
commit ccd1e612ae

View File

@@ -253,6 +253,7 @@ when isMainModule:
let chDigits = ch(Digits)
assert testParser123.flatMap(ch1).tokensToString() == "1"
assert testParser123.flatMap(anyCh).tokensToString() == "1"
assert testParser123.flatMap(chDigits).tokensToString() == "1"
# Mismatch