(t *testing.T)
| 2143 | } |
| 2144 | |
| 2145 | func TestSetErr(t *testing.T) { |
| 2146 | c := &Command{} |
| 2147 | c.SetErr(nil) |
| 2148 | if out := c.ErrOrStderr(); out != os.Stderr { |
| 2149 | t.Errorf("Expected setting error to nil to revert back to stderr") |
| 2150 | } |
| 2151 | } |
| 2152 | |
| 2153 | func TestSetIn(t *testing.T) { |
| 2154 | c := &Command{} |
nothing calls this directly
no test coverage detected