docs
This commit is contained in:
parent
17108e1db4
commit
f00f35ce8c
@ -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) {
|
func TestRequiredFlagAppRunBehavior(t *testing.T) {
|
||||||
tdata := []struct {
|
tdata := []struct {
|
||||||
testCase string
|
testCase string
|
||||||
|
Loading…
Reference in New Issue
Block a user