diff --git a/fanout/reader_test.go b/fanout/reader_test.go index 87fb1a6..cbe6b25 100644 --- a/fanout/reader_test.go +++ b/fanout/reader_test.go @@ -159,6 +159,5 @@ func TestSyncReadOnError(t *testing.T) { } pfr := NewReadAllReader(strings.NewReader("someNotTooShortString"), ReadAllConsumerFunc(proc1), ReadAllConsumerFunc(proc2)) - _, err := pfr.ReadAll() - assert.NoError(t, err) + _, _ = pfr.ReadAll() }