diff --git a/assets/test/templates/option/function.tmpl b/assets/test/templates/option/function.tmpl index 78b8bb9e79..ff4876f934 100644 --- a/assets/test/templates/option/function.tmpl +++ b/assets/test/templates/option/function.tmpl @@ -2,6 +2,7 @@ {{- $f := . }} func {{ .TestName }}(t *testing.T) { + // Change interface type to the type of object you are testing type T = interface{} {{- if .TestParameters }} type args struct {