(p []byte)
| 961 | type testWriter struct{ T testing.TB } |
| 962 | |
| 963 | func (w testWriter) Write(p []byte) (int, error) { |
| 964 | for _, line := range bytes.Split(p, []byte{'\n'}) { |
| 965 | w.T.Logf("%s", line) |
| 966 | } |
| 967 | return len(p), nil |
| 968 | } |
no outgoing calls
no test coverage detected