From 7b1f820a933644e286f941af47bf5971a5053f9f Mon Sep 17 00:00:00 2001 From: Naveen Gogineni Date: Sat, 17 Feb 2024 20:01:23 -0500 Subject: [PATCH] Add more tests --- command_test.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/command_test.go b/command_test.go index 982d84a45e..3f89208a19 100644 --- a/command_test.go +++ b/command_test.go @@ -461,6 +461,10 @@ func TestCommand_VisibleFlagCategories(t *testing.T) { &StringFlag{ Name: "strd", // no category set }, + &StringFlag{ + Name: "strd1", // no category set and also hidden + Hidden: true, + }, &Int64Flag{ Name: "intd", Aliases: []string{"altd1", "altd2"},