MCPcopy Create free account
hub / github.com/exercism/cli / reset

Method reset

cmd/cmd_test.go:121–124  ·  view source on GitHub ↗

reset puts back the original streams for the commands to write to.

()

Source from the content-addressed store, hash-verified

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

Calls

no outgoing calls

Tested by

no test coverage detected