diff --git a/revid/revid_test.go b/revid/revid_test.go index b8f9c1f7..867ded78 100644 --- a/revid/revid_test.go +++ b/revid/revid_test.go @@ -106,7 +106,7 @@ func newDummyMultiWriter(dst ...io.Writer) io.Writer { } } -func (w *dummyMultiWriter) Write(d []byte) (int, error) { return 0, nil } +func (w *dummyMultiWriter) Write(d []byte) (int, error) { return len(d), nil } // TestResetEncoderSenderSetup checks that revid.reset() correctly sets up the // revid.encoder slice and the senders the encoders write to.