mirror of
https://github.com/spf13/cobra
synced 2025-05-06 05:17:21 +00:00
Debug statements cleared
This commit is contained in:
parent
57d975babe
commit
9dc374d001
2 changed files with 4 additions and 4 deletions
|
@ -143,7 +143,7 @@ func createCmdFile(license License, path, cmdName string, cmdVariable string) {
|
|||
{{if .license}}{{comment .license}}{{end}}
|
||||
|
||||
package {{.cmdPackage}}
|
||||
//This is a test
|
||||
|
||||
import (
|
||||
"fmt"
|
||||
|
||||
|
|
|
@ -31,9 +31,9 @@ func TestGoldenAddCmd(t *testing.T) {
|
|||
initializeProject(project)
|
||||
|
||||
// Then add the "test" command.
|
||||
cmdName := "test"
|
||||
cmdPath := filepath.Join(project.CmdPath(), cmdName+".go")
|
||||
createCmdFile(project.License(), cmdPath, cmdName)
|
||||
// cmdName := "test"
|
||||
// cmdPath := filepath.Join(project.CmdPath(), cmdName+".go")
|
||||
// createCmdFile(project.License(), cmdPath, cmdName)
|
||||
|
||||
expectedFiles := []string{".", "root.go", "test.go"}
|
||||
gotFiles := []string{}
|
||||
|
|
Loading…
Add table
Reference in a new issue