aboutsummaryrefslogtreecommitdiff
path: root/src/mime
diff options
context:
space:
mode:
Diffstat (limited to 'src/mime')
-rw-r--r--src/mime/quotedprintable/reader_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mime/quotedprintable/reader_test.go b/src/mime/quotedprintable/reader_test.go
index 1ff858a69c..c12d2ca3db 100644
--- a/src/mime/quotedprintable/reader_test.go
+++ b/src/mime/quotedprintable/reader_test.go
@@ -197,7 +197,7 @@ func TestExhaustive(t *testing.T) {
}
res["OK"]++
})
- var outcomes []string
+ outcomes := make([]string, 0, len(res))
for k, v := range res {
outcomes = append(outcomes, fmt.Sprintf("%v: %d", k, v))
}