cmd: Fix tests
This commit is contained in:
		@ -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)
 | 
				
			||||||
	}
 | 
						}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user