diff --git a/runtime/interpreter/integer_test.go b/runtime/interpreter/integer_test.go index 7358c7bf52..11a5af5098 100644 --- a/runtime/interpreter/integer_test.go +++ b/runtime/interpreter/integer_test.go @@ -19,6 +19,7 @@ package interpreter import ( + "fmt" "math" "runtime" "sync" @@ -49,7 +50,8 @@ func runBench(b *testing.B, getValue func(value int8, staticType StaticType) Int for i := 0; i <= math.MaxInt8; i++ { for _, integerType := range staticTypes { value := getValue(int8(i), integerType) - runtime.KeepAlive(value) + str := fmt.Sprintf("Value = %d", value) + runtime.KeepAlive(str) } } }