Removed things we don't need from TestTemplates
This commit is contained in:
parent
dd5d643d4f
commit
f76022c1f6
1 changed files with 0 additions and 10 deletions
|
@ -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{}
|
||||
|
||||
|
|
Loading…
Reference in a new issue