diff --git a/hack/generator/pkg/conversions/property_assignment_function_test.go b/hack/generator/pkg/conversions/property_assignment_function_test.go index 3c67b3be151..5aff06c68b9 100644 --- a/hack/generator/pkg/conversions/property_assignment_function_test.go +++ b/hack/generator/pkg/conversions/property_assignment_function_test.go @@ -169,7 +169,6 @@ func RunTestStorageConversionFunction_AsFunc(c *StorageConversionPropertyTestCas idFactory := astmodel.NewIdentifierFactory() - currentType, ok := astmodel.AsObjectType(c.currentObject.Type()) g.Expect(ok).To(BeTrue())