From f5d67d80d35cc36d3271c411ef4d8c2a870a05bf Mon Sep 17 00:00:00 2001 From: Andrii Kushch Date: Thu, 11 Oct 2018 12:55:35 +0200 Subject: [PATCH] remove unused function --- internal/proto/reader_test.go | 5 ----- 1 file changed, 5 deletions(-) diff --git a/internal/proto/reader_test.go b/internal/proto/reader_test.go index 54e85af..c4a4c12 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) }