Hide help command for category tests

main
Dan Buch 8 years ago
parent be875c395c
commit 3c5afd4757
No known key found for this signature in database
GPG Key ID: FAEF12936DD3E3EC

@ -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",

Loading…
Cancel
Save