Skip to content

Commit

Permalink
cmd: Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
n10v committed May 9, 2017
1 parent 4db577d commit e97db2b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cobra/cmd/init_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ func TestGoldenInitCmd(t *testing.T) {
defer os.RemoveAll(project.AbsPath())

os.Args = []string{"cobra", "init", projectName}
if err := RootCmd.Execute(); err != nil {
if err := rootCmd.Execute(); err != nil {
t.Fatal("Error by execution:", err)
}

Expand Down

0 comments on commit e97db2b

Please sign in to comment.