added not() expression

This commit is contained in:
zadam
2020-05-27 00:09:19 +02:00
parent dc2d5a0a79
commit 55b210d7c5
4 changed files with 32 additions and 1 deletions

View File

@@ -46,7 +46,7 @@ describe("Parser", () => {
it("simple label AND", () => {
const rootExp = parser({
fulltextTokens: [],
expressionTokens: ["#first", "=", "text", "AND", "#second", "=", "text"],
expressionTokens: ["#first", "=", "text", "and", "#second", "=", "text"],
parsingContext: new ParsingContext(true)
});