summaryrefslogtreecommitdiff
path: root/gomplate_test.go
diff options
context:
space:
mode:
authorDave Henderson <dhenderson@gmail.com>2020-08-19 20:01:54 -0400
committerDave Henderson <dhenderson@gmail.com>2020-08-19 20:11:59 -0400
commit32b2da2b5af71a66629816f33034247c319899c9 (patch)
tree36af6a13a96b9333f2106c09e65952b1a4319d66 /gomplate_test.go
parentc0d464d7c8f0585498e9b073a5421d13f8a8b574 (diff)
Go 1.15 bump and other updates
Signed-off-by: Dave Henderson <dhenderson@gmail.com>
Diffstat (limited to 'gomplate_test.go')
-rw-r--r--gomplate_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/gomplate_test.go b/gomplate_test.go
index 5acf4279..0142aae0 100644
--- a/gomplate_test.go
+++ b/gomplate_test.go
@@ -23,7 +23,7 @@ import (
func testTemplate(g *gomplate, tmpl string) string {
var out bytes.Buffer
- err := g.runTemplate(context.TODO(), &tplate{name: "testtemplate", contents: tmpl, target: &out})
+ err := g.runTemplate(context.Background(), &tplate{name: "testtemplate", contents: tmpl, target: &out})
if err != nil {
panic(err)
}