mirror of
https://github.com/spf13/cobra
synced 2025-05-06 05:17:21 +00:00
756-vgo-support - fix existing tests
This commit is contained in:
parent
ff6025496a
commit
dd934029fb
2 changed files with 2 additions and 2 deletions
|
@ -17,7 +17,7 @@ import (
|
|||
// Use -update to update existing golden files.
|
||||
func TestGoldenAddCmd(t *testing.T) {
|
||||
projectName := "github.com/spf13/testproject"
|
||||
project := NewProject(projectName)
|
||||
project := NewProject(projectName, false)
|
||||
defer os.RemoveAll(project.AbsPath())
|
||||
|
||||
viper.Set("author", "NAME HERE <EMAIL ADDRESS>")
|
||||
|
|
|
@ -16,7 +16,7 @@ import (
|
|||
// Use -update to update existing golden files.
|
||||
func TestGoldenInitCmd(t *testing.T) {
|
||||
projectName := "github.com/spf13/testproject"
|
||||
project := NewProject(projectName)
|
||||
project := NewProject(projectName, false)
|
||||
defer os.RemoveAll(project.AbsPath())
|
||||
|
||||
viper.Set("author", "NAME HERE <EMAIL ADDRESS>")
|
||||
|
|
Loading…
Add table
Reference in a new issue