|
|
|
@ -551,7 +551,7 @@ func TestApp_RunDefaultCommandWithSubCommand(t *testing.T) {
|
|
|
|
|
{Name: "batbaz", Aliases: []string{"b"}},
|
|
|
|
|
},
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
err := app.Run([]string{"c", test.cmdName, test.subCmd})
|
|
|
|
|
expect(t, err == nil, test.expected)
|
|
|
|
|
})
|
|
|
|
@ -2386,4 +2386,4 @@ func TestSetupInitializesOnlyNilWriters(t *testing.T) {
|
|
|
|
|
if a.Writer != os.Stdout {
|
|
|
|
|
t.Errorf("expected a.Writer to be os.Stdout")
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|