()
| 3200 | } |
| 3201 | |
| 3202 | func buildMinimalTestCommand() *Command { |
| 3203 | // reset the help flag because tests may have set it |
| 3204 | HelpFlag.(*BoolFlag).hasBeenSet = false |
| 3205 | return &Command{Writer: io.Discard} |
| 3206 | } |
| 3207 | |
| 3208 | func TestSetupInitializesBothWriters(t *testing.T) { |
| 3209 | cmd := &Command{} |
no outgoing calls
no test coverage detected