reset puts back the original streams for the commands to write to.
()
| 119 | |
| 120 | // reset puts back the original streams for the commands to write to. |
| 121 | func (co capturedOutput) reset() { |
| 122 | Out = co.oldOut |
| 123 | Err = co.oldErr |
| 124 | } |
| 125 | |
| 126 | func errorResponse418(contentType string, body string) *http.Response { |
| 127 | response := &http.Response{ |
no outgoing calls
no test coverage detected