From f76022c1f631805c8fb61ad6e11d5dfc17788c0e Mon Sep 17 00:00:00 2001 From: Patrick O'brien Date: Sun, 3 Apr 2016 16:08:02 +1000 Subject: [PATCH] Removed things we don't need from TestTemplates --- cmds/sqlboiler_test.go | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/cmds/sqlboiler_test.go b/cmds/sqlboiler_test.go index 3929a52..1ebdbaf 100644 --- a/cmds/sqlboiler_test.go +++ b/cmds/sqlboiler_test.go @@ -2,7 +2,6 @@ package cmds import ( "bytes" - "fmt" "io/ioutil" "os" "os/exec" @@ -76,15 +75,6 @@ func TestTemplates(t *testing.T) { t.Errorf("Unable to run SQLBoilerRun: %s", err) } - tplFile := cmdData.OutFolder + "/templates_test.go" - tplTestHandle, err := os.Create(tplFile) - if err != nil { - t.Errorf("Unable to create %s: %s", tplFile, err) - } - defer tplTestHandle.Close() - - fmt.Fprintf(tplTestHandle, "package %s\n", cmdData.PkgName) - buf := bytes.Buffer{} buf2 := bytes.Buffer{}