diff --git a/parser_test.go b/parser_test.go index 5705da5..563fea2 100644 --- a/parser_test.go +++ b/parser_test.go @@ -98,7 +98,7 @@ func TestGeneralParser(t *testing.T) { /* 77 */ {`5 % 2`, int64(1), nil}, /* 78 */ {`5 % (-2)`, int64(1), nil}, /* 79 */ {`-5 % 2`, int64(-1), nil}, - /* 80 */ {`5 % 2.0`, nil, errors.New(`[1:4] left operand '5' [int64] and right operand '2' [float64] are not compatible with operator "%"`)}, + /* 80 */ {`5 % 2.0`, nil, errors.New(`[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},