Skip to content

Commit f9770b4

Browse files
committed
use strings.Builder in TestOver65kFiles
This mirrors Go commit 6fcd9b42e7c6f7e8be75b9d8af01181096b3f752
1 parent 4a69d62 commit f9770b4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

zip_test.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ func TestOver65kFiles(t *testing.T) {
2626
if testing.Short() {
2727
t.Skip("skipping in short mode")
2828
}
29-
buf := new(bytes.Buffer)
29+
buf := new(strings.Builder)
3030

3131
const nFiles = (1 << 16) + 42
3232
tmpl := &Template{

0 commit comments

Comments
 (0)