Debug statements cleared

This commit is contained in:
Alexander Wulf 2019-06-02 09:53:55 +02:00
parent 57d975babe
commit 9dc374d001
2 changed files with 4 additions and 4 deletions

View file

@ -143,7 +143,7 @@ func createCmdFile(license License, path, cmdName string, cmdVariable string) {
{{if .license}}{{comment .license}}{{end}} {{if .license}}{{comment .license}}{{end}}
package {{.cmdPackage}} package {{.cmdPackage}}
//This is a test
import ( import (
"fmt" "fmt"

View file

@ -31,9 +31,9 @@ func TestGoldenAddCmd(t *testing.T) {
initializeProject(project) initializeProject(project)
// Then add the "test" command. // Then add the "test" command.
cmdName := "test" // cmdName := "test"
cmdPath := filepath.Join(project.CmdPath(), cmdName+".go") // cmdPath := filepath.Join(project.CmdPath(), cmdName+".go")
createCmdFile(project.License(), cmdPath, cmdName) // createCmdFile(project.License(), cmdPath, cmdName)
expectedFiles := []string{".", "root.go", "test.go"} expectedFiles := []string{".", "root.go", "test.go"}
gotFiles := []string{} gotFiles := []string{}