summaryrefslogtreecommitdiff
path: root/template_test.go
diff options
context:
space:
mode:
authorDave Henderson <dhenderson@gmail.com>2021-01-02 12:42:36 -0500
committerDave Henderson <dhenderson@gmail.com>2021-01-02 12:49:40 -0500
commit25042240754ae032f53f2225e2f224cbfe51b2b6 (patch)
tree5530b07d4928a483d1d34be3138605f6014b422a /template_test.go
parent09a33cdffa6d0b4e57e12827f7075fb2d6c6a543 (diff)
Moving lint config to config file, fixing some issues
Signed-off-by: Dave Henderson <dhenderson@gmail.com>
Diffstat (limited to 'template_test.go')
-rw-r--r--template_test.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/template_test.go b/template_test.go
index cb9d0763..dc0c7ae0 100644
--- a/template_test.go
+++ b/template_test.go
@@ -253,6 +253,7 @@ func TestProcessTemplates(t *testing.T) {
},
}
for i, in := range testdata {
+ in := in
t.Run(fmt.Sprintf("%d", i), func(t *testing.T) {
actual, err := processTemplates(cfg, in.templates)
assert.NoError(t, err)