(t *testing.T)
| 89 | } |
| 90 | |
| 91 | func TestMultiWriteSyncerFailsWrite(t *testing.T) { |
| 92 | ws := NewMultiWriteSyncer(AddSync(&ztest.FailWriter{})) |
| 93 | _, err := ws.Write([]byte("test")) |
| 94 | assert.Error(t, err, "Write error should propagate") |
| 95 | } |
| 96 | |
| 97 | func TestMultiWriteSyncerFailsShortWrite(t *testing.T) { |
| 98 | ws := NewMultiWriteSyncer(AddSync(&ztest.ShortWriter{})) |
nothing calls this directly
no test coverage detected