diff --git a/ext/math_test.go b/ext/math_test.go index e7ed3a6a..7028b452 100644 --- a/ext/math_test.go +++ b/ext/math_test.go @@ -464,6 +464,10 @@ func TestMathRuntimeErrors(t *testing.T) { expr: "math.bitShiftRight(1024u, -4) == 1u", err: "math.bitShiftRight() negative offset", }, + { + expr: "math.abs(-9223372036854775808)", + err: "overflow", + }, } env := testMathEnv(t,