var scheme … func must3[T any, I any](val T, _ I, err error) T { … } func TestExtractTypeNames(t *testing.T) { … } func TestTypeCheck(t *testing.T) { … } func buildTypeChecker(schemaToReturn *spec.Schema) *TypeChecker { … } type fakeSchemaResolver … func (r *fakeSchemaResolver) ResolveSchema(gvk schema.GroupVersionKind) (*spec.Schema, error) { … } func toBeEmpty(warnings []v1.ExpressionWarning, t *testing.T) { … } func toContain(substring string) func(warnings []v1.ExpressionWarning, t *testing.T) { … } func toHaveLengthOf(expected int) func(warnings []v1.ExpressionWarning, t *testing.T) { … } func toHaveFieldRef(paths ...string) func(warnings []v1.ExpressionWarning, t *testing.T) { … } type assertionFunc …