1
0
mirror of https://github.com/redis/go-redis.git synced 2025-07-28 06:42:00 +03:00

remove unused function

This commit is contained in:
Andrii Kushch
2018-10-11 12:55:35 +02:00
parent f87c59c191
commit f5d67d80d3

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)
} }