This commit is contained in:
Lynn Cyrin 2019-07-13 14:02:45 -07:00
parent 17108e1db4
commit f00f35ce8c
No known key found for this signature in database
GPG Key ID: EE9CCB427DFEC897

View File

@ -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