remove unused function

This commit is contained in:
Andrii Kushch 2018-10-11 12:55:35 +02:00
parent f87c59c191
commit f5d67d80d3
1 changed files with 0 additions and 5 deletions

View File

@ -2,16 +2,11 @@ package proto_test
import ( import (
"bytes" "bytes"
"strings"
"testing" "testing"
"github.com/go-redis/redis/internal/proto" "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) { func BenchmarkReader_ParseReply_Status(b *testing.B) {
benchmarkParseReply(b, "+OK\r\n", nil, false) benchmarkParseReply(b, "+OK\r\n", nil, false)
} }