From cb45935c4b2ce59b0bdfd0259459762ad1473802 Mon Sep 17 00:00:00 2001 From: faizan-siddiqui Date: Thu, 16 Jan 2025 13:25:06 +1100 Subject: [PATCH] add more verbose test cases Co-authored-by: ccoVeille <3875889+ccoVeille@users.noreply.github.com> --- flag_groups_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/flag_groups_test.go b/flag_groups_test.go index e704a92..8178603 100644 --- a/flag_groups_test.go +++ b/flag_groups_test.go @@ -61,7 +61,7 @@ func TestValidateFlagGroups(t *testing.T) { desc: "No flags no problem even with conflicting groups", flagGroupsRequired: []string{"a b"}, flagGroupsExclusive: []string{"a b"}, - flagGroupsIfPresentThenRequired: []string{"a b"}, + flagGroupsIfPresentThenRequired: []string{"a b", "b a"}, }, { desc: "Required flag group not satisfied", flagGroupsRequired: []string{"a b c"},