diff options
Diffstat (limited to 'helpers/emoji_test.go')
-rw-r--r-- | helpers/emoji_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/helpers/emoji_test.go b/helpers/emoji_test.go index f9189eb43..89f9df5fa 100644 --- a/helpers/emoji_test.go +++ b/helpers/emoji_test.go @@ -80,7 +80,7 @@ func BenchmarkEmojiKyokomiFprint(b *testing.B) { defer bufferpool.PutBuffer(buff) emoji.Fprint(buff, string(in)) - bc := make([]byte, buff.Len(), buff.Len()) + bc := make([]byte, buff.Len()) copy(bc, buff.Bytes()) return bc } |