Commit 1e748e72 authored by Geoff Simmons's avatar Geoff Simmons

go fmt fixes.

parent dda229dd
...@@ -43,7 +43,7 @@ import ( ...@@ -43,7 +43,7 @@ import (
var ( var (
testdir string testdir string
tmpdir string tmpdir string
) )
func cmpGold(t *testing.T, gotPath string, goldfile string) bool { func cmpGold(t *testing.T, gotPath string, goldfile string) bool {
...@@ -171,7 +171,7 @@ func TestTemplate(t *testing.T) { ...@@ -171,7 +171,7 @@ func TestTemplate(t *testing.T) {
vclPath := filepath.Join(tmpdir, "backends.vcl") vclPath := filepath.Join(tmpdir, "backends.vcl")
tmplMap[filepath.Join(testdir, "testdata", "backends.tmpl")] = vclPath tmplMap[filepath.Join(testdir, "testdata", "backends.tmpl")] = vclPath
tmpl2file, err := InitTemplates(tmplMap); tmpl2file, err := InitTemplates(tmplMap)
if err != nil { if err != nil {
t.Fatal("InitTemplates():", err) t.Fatal("InitTemplates():", err)
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment