diff --git a/tests/simple/testdata/conversions.textproto b/tests/simple/testdata/conversions.textproto index 6f464641..e9d09092 100644 --- a/tests/simple/testdata/conversions.textproto +++ b/tests/simple/testdata/conversions.textproto @@ -422,7 +422,13 @@ section { value: { uint64_value: 26 } } test { - name: "double_range" + name: "double_range_beyond_int" + description: "Checks conversion of integer outside int range." + expr: "uint(1e19)" + value: { uint64_value: 10000000000000000000 } + } + test { + name: "double_range_err" expr: "uint(6.022e23)" eval_error { errors { message: "range" }