| 225 | } |
| 226 | |
| 227 | type testWriter struct { |
| 228 | expected string |
| 229 | t testing.TB |
| 230 | } |
| 231 | |
| 232 | func (w *testWriter) Write(actual []byte) (int, error) { |
| 233 | assert.Equal(w.t, []byte(w.expected), actual, "Unexpected write error.") |
nothing calls this directly
no outgoing calls
no test coverage detected