Add anyCh test
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user