diff --git a/internal/proto/reader_test.go b/internal/proto/reader_test.go index 54e85afe..c4a4c128 100644 --- a/internal/proto/reader_test.go +++ b/internal/proto/reader_test.go @@ -2,16 +2,11 @@ package proto_test import ( "bytes" - "strings" "testing" "github.com/go-redis/redis/internal/proto" ) -func newReader(s string) *proto.Reader { - return proto.NewReader(strings.NewReader(s)) -} - func BenchmarkReader_ParseReply_Status(b *testing.B) { benchmarkParseReply(b, "+OK\r\n", nil, false) }