23 lines
548 B
Go Template
23 lines
548 B
Go Template
// WARNING: this file is generated. DO NOT EDIT
|
|
|
|
package {{.TestPackageName}}
|
|
|
|
{{range .SortedFlagTypes}}
|
|
{{if .GenerateFlagInterface}}
|
|
func Test{{.TypeName}}_SatisfiesFlagInterface(t *testing.T) {
|
|
var _ {{$.UrfaveCLITestNamespace}}Flag = &{{$.UrfaveCLITestNamespace}}{{.TypeName}}{}
|
|
}
|
|
{{end}}
|
|
|
|
{{if .GenerateFmtStringerInterface}}
|
|
func Test{{.TypeName}}_SatisfiesFmtStringerInterface(t *testing.T) {
|
|
var _ fmt.Stringer = &{{$.UrfaveCLITestNamespace}}{{.TypeName}}{}
|
|
}
|
|
{{end}}
|
|
{{end}}
|
|
|
|
// vim{{/* 👻 */}}:ro
|
|
{{/*
|
|
vim:filetype=gotexttmpl
|
|
*/}}
|