(t *testing.T)
| 104 | } |
| 105 | |
| 106 | func Test_errorsIsAny(t *testing.T) { |
| 107 | t.Parallel() |
| 108 | |
| 109 | assert.True(t, "err", errorsIsAny(io.EOF, io.ErrUnexpectedEOF, io.EOF)) |
| 110 | assert.False(t, "err", errorsIsAny(io.EOF, io.ErrUnexpectedEOF, io.ErrClosedPipe)) |
| 111 | } |
| 112 | |
| 113 | type syncWriter struct { |
| 114 | wf func([]byte) (int, error) |
nothing calls this directly
no test coverage detected