From 3c5afd4757061c696af6d82b3376e45a69e3cff8 Mon Sep 17 00:00:00 2001 From: Dan Buch Date: Wed, 22 Jun 2016 09:48:39 -0400 Subject: [PATCH] Hide help command for category tests --- app_test.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/app_test.go b/app_test.go index ee8cc35..9c6b960 100644 --- a/app_test.go +++ b/app_test.go @@ -1125,6 +1125,7 @@ func TestApp_Run_Version(t *testing.T) { func TestApp_Run_Categories(t *testing.T) { app := NewApp() app.Name = "categories" + app.HideHelp = true app.Commands = []Command{ { Name: "command1", @@ -1174,6 +1175,7 @@ func TestApp_Run_Categories(t *testing.T) { func TestApp_VisibleCategories(t *testing.T) { app := NewApp() app.Name = "visible-categories" + app.HideHelp = true app.Commands = []Command{ { Name: "command1", @@ -1213,6 +1215,7 @@ func TestApp_VisibleCategories(t *testing.T) { app = NewApp() app.Name = "visible-categories" + app.HideHelp = true app.Commands = []Command{ { Name: "command1", @@ -1247,6 +1250,7 @@ func TestApp_VisibleCategories(t *testing.T) { app = NewApp() app.Name = "visible-categories" + app.HideHelp = true app.Commands = []Command{ { Name: "command1",