diff --git a/io/read_stream_test.go b/io/read_stream_test.go index 7ac9683470..1cab9bd5aa 100644 --- a/io/read_stream_test.go +++ b/io/read_stream_test.go @@ -19,7 +19,6 @@ func blockMatcher(matches []toBlockKeys) func(b []byte) (int, error) { var consumed int for _, s := range matches { if bytes.Contains(b, s.Str) { - b = nil return 0, ErrBlocked } }