[gzep] Small test improvements.

This commit is contained in:
Arseny Balobanov 2022-05-06 01:43:15 +03:00
parent 86872dbb9e
commit 49a78fd593

View file

@ -14,11 +14,10 @@ import (
) )
func BenchmarkEncode(b *testing.B) { func BenchmarkEncode(b *testing.B) {
data := []byte( data := []byte(testtool.RandomName() +
"New function should generally only return pointer types, " + "New function should generally only return pointer types, " +
"since a pointer can be put into the return interface " + "since a pointer can be put into the return interface " +
"value without an allocation. " + "value without an allocation.",
testtool.RandomName(),
) )
b.ResetTimer() b.ResetTimer()