diff --git a/runtime/tests/interpreter/enum_test.go b/runtime/tests/interpreter/enum_test.go index 16776a1b1a..f3f405d1b0 100644 --- a/runtime/tests/interpreter/enum_test.go +++ b/runtime/tests/interpreter/enum_test.go @@ -207,7 +207,7 @@ func TestInterpretEnumInContract(t *testing.T) { contract := c.(*interpreter.CompositeValue) e := contract.Fields["e"] - require.IsType(t, &interpreter.CompositeValue{}, c) + require.IsType(t, &interpreter.CompositeValue{}, e) enumCase := e.(*interpreter.CompositeValue) require.Equal(t,