From 49a78fd593052724c9ca28efc9a440c5e0bab0c1 Mon Sep 17 00:00:00 2001 From: Arseny Balobanov Date: Fri, 6 May 2022 01:43:15 +0300 Subject: [PATCH] [gzep] Small test improvements. --- gzep/encode_test.go | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/gzep/encode_test.go b/gzep/encode_test.go index b44638b..0b98dde 100644 --- a/gzep/encode_test.go +++ b/gzep/encode_test.go @@ -14,11 +14,10 @@ import ( ) func BenchmarkEncode(b *testing.B) { - data := []byte( + data := []byte(testtool.RandomName() + "New function should generally only return pointer types, " + - "since a pointer can be put into the return interface " + - "value without an allocation. " + - testtool.RandomName(), + "since a pointer can be put into the return interface " + + "value without an allocation.", ) b.ResetTimer()