(t *testing.T)
| 1103 | } |
| 1104 | |
| 1105 | func TestCommand_Setup_defaultsWriter(t *testing.T) { |
| 1106 | cmd := &Command{} |
| 1107 | cmd.setupDefaults([]string{"test"}) |
| 1108 | assert.Equal(t, cmd.Writer, os.Stdout) |
| 1109 | } |
| 1110 | |
| 1111 | func TestCommand_CommandWithFlagBeforeTerminator(t *testing.T) { |
| 1112 | var parsedOption string |
nothing calls this directly
no test coverage detected