diff --git a/t_parser_test.go b/t_parser_test.go index 48b15ab..1b1d31e 100644 --- a/t_parser_test.go +++ b/t_parser_test.go @@ -94,10 +94,10 @@ func TestGeneralParser(t *testing.T) { /* 80 */ {`5 % 2.0`, nil, `[1:4] left operand '5' [integer] and right operand '2' [float] are not compatible with operator "%"`}, /* 81 */ {`"a" < "b" AND NOT (2 < 1)`, true, nil}, /* 82 */ {`"a" < "b" AND NOT (2 == 1)`, true, nil}, - /* 83 */ {`"a" < "b" AND ~ 2 == 1`, true, nil}, - /* 84 */ {`~ 2 > 1`, false, nil}, - /* 85 */ {`~ true && true`, false, nil}, - /* 86 */ {`~ false || true`, true, nil}, + /* 83 */ {`"a" < "b" AND NOT 2 == 1`, true, nil}, + /* 84 */ {`NOT 2 > 1`, false, nil}, + /* 85 */ {`nOT true && true`, false, nil}, + /* 86 */ {`NOT false || true`, true, nil}, /* 87 */ {`false but true`, true, nil}, /* 88 */ {`2+3 but 5*2`, int64(10), nil}, /* 89 */ {`x=2`, int64(2), nil},