(body io.Reader)
| 26 | } |
| 27 | |
| 28 | func httpResponse(body io.Reader) *http.Response { |
| 29 | resp := &http.Response{} |
| 30 | if body != nil { |
| 31 | resp.Body = io.NopCloser(body) |
| 32 | } |
| 33 | return resp |
| 34 | } |
| 35 | |
| 36 | func TestPrinter_Compact(t *testing.T) { |
| 37 | cases := []struct { |
no outgoing calls
no test coverage detected
searching dependent graphs…