cmd: Fix tests

This commit is contained in:
Albert Nigmatzianov 2017-05-09 11:15:48 +02:00
parent 4db577d34d
commit e97db2b866

View file

@ -18,7 +18,7 @@ func TestGoldenInitCmd(t *testing.T) {
defer os.RemoveAll(project.AbsPath()) defer os.RemoveAll(project.AbsPath())
os.Args = []string{"cobra", "init", projectName} os.Args = []string{"cobra", "init", projectName}
if err := RootCmd.Execute(); err != nil { if err := rootCmd.Execute(); err != nil {
t.Fatal("Error by execution:", err) t.Fatal("Error by execution:", err)
} }