From f00f35ce8c1a6ebd7a3900901dd8b05049fbefc7 Mon Sep 17 00:00:00 2001 From: Lynn Cyrin Date: Sat, 13 Jul 2019 14:02:45 -0700 Subject: [PATCH] docs --- app_test.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/app_test.go b/app_test.go index 6b44654..e838d30 100644 --- a/app_test.go +++ b/app_test.go @@ -877,6 +877,10 @@ func TestAppNoHelpFlag(t *testing.T) { } } +// TestRequiredFlagAppRunBehavior tests the app-wide behavior of required flags +// and how they interact with the error response and help messages. +// A different test (`TestCheckRequiredFlags`) exists for the more fine grain +// behavior of required flags. func TestRequiredFlagAppRunBehavior(t *testing.T) { tdata := []struct { testCase string