mirror of https://bitbucket.org/ausocean/av.git
revid: fixed Write for dummyMultiWriter in revid_test.go
This commit is contained in:
parent
a061a79805
commit
9435baec5c
|
@ -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.
|
||||
|
|
Loading…
Reference in New Issue