diff --git a/cmd/archivistactl/cmd/root_test.go b/cmd/archivistactl/cmd/root_test.go index 027296cf..c3b888b7 100644 --- a/cmd/archivistactl/cmd/root_test.go +++ b/cmd/archivistactl/cmd/root_test.go @@ -35,7 +35,7 @@ func (ut *UTRootSuite) Test_Root() { rootCmd.SetOut(output) rootCmd.SetErr(output) rootCmd.SetArgs([]string{"help"}) - err := rootCmd.Execute() + err := Execute() if err != nil { ut.FailNow(err.Error()) }