diff options
Diffstat (limited to 'gomplate_test.go')
| -rw-r--r-- | gomplate_test.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gomplate_test.go b/gomplate_test.go index d3d23cc6..c091f1ea 100644 --- a/gomplate_test.go +++ b/gomplate_test.go @@ -15,9 +15,9 @@ import ( "github.com/stretchr/testify/assert" ) -func testTemplate(g *Gomplate, template string) string { +func testTemplate(g *Gomplate, tmpl string) string { var out bytes.Buffer - g.RunTemplate(&input{"testtemplate", template}, &out) + g.RunTemplate(&tplate{name: "testtemplate", contents: tmpl, target: &out}) return out.String() } |
