k3s/contrib/gotests_templates/message.tmpl
Brian Downs f99b1c8798
add gotests templates (#3709)
add gotests templates
2021-07-24 19:36:36 -07:00

4 lines
202 B
Cheetah

{{define "message" -}}
{{if not .Subtests}}%q. {{end}}{{with .Receiver}}{{.Type.Value}}.{{end}}{{.Name}}({{if .PrintInputs}}{{range $i, $el := .Parameters}}{{if $i}}, {{end}}%v{{end}}{{end}})
{{- end}}