We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
templateTestList.run
1 parent f784650 commit 5a35b9eCopy full SHA for 5a35b9e
internal/template/template_test.go
@@ -19,8 +19,10 @@ type templateTestList []struct {
19
20
func (tests templateTestList) run(t *testing.T, prefix string) {
21
for n, test := range tests {
22
+ test := test
23
tmplName := fmt.Sprintf("%s-test-%d", prefix, n)
24
t.Run(tmplName, func(t *testing.T) {
25
+ t.Parallel()
26
tmpl := template.Must(newTemplate(tmplName).Parse(test.tmpl))
27
28
var b bytes.Buffer
0 commit comments