parser_test.go: test added (mixed number types)

This commit is contained in:
Celestino Amoroso 2024-05-07 07:23:38 +02:00
parent 8c3c54913a
commit 34b7799177

View File

@ -157,6 +157,7 @@ func TestGeneralParser(t *testing.T) {
/* 136 */ {`builtin "math.arith"; mul(1|2, 1.0, 2)`, float64(1.0), nil},
/* 137 */ {`builtin "os.file"`, int64(1), nil},
/* 138 */ {`v=10; v++; v`, int64(11), nil},
/* 139 */ {`1+1|2+0.5`, float64(2), nil},
}
// t.Setenv("EXPR_PATH", ".")