Merge remote-tracking branch 'origin/v1' into merging-from-v1
This commit is contained in:
@@ -1123,6 +1123,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",
|
||||
@@ -1173,6 +1174,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",
|
||||
@@ -1212,6 +1214,7 @@ func TestApp_VisibleCategories(t *testing.T) {
|
||||
|
||||
app = NewApp()
|
||||
app.Name = "visible-categories"
|
||||
app.HideHelp = true
|
||||
app.Commands = []*Command{
|
||||
{
|
||||
Name: "command1",
|
||||
@@ -1246,6 +1249,7 @@ func TestApp_VisibleCategories(t *testing.T) {
|
||||
|
||||
app = NewApp()
|
||||
app.Name = "visible-categories"
|
||||
app.HideHelp = true
|
||||
app.Commands = []*Command{
|
||||
{
|
||||
Name: "command1",
|
||||
|
Reference in New Issue
Block a user