| Index: src/pkg/crypto/openpgp/canonical_text_test.go |
| =================================================================== |
| --- a/src/pkg/crypto/openpgp/canonical_text_test.go |
| +++ b/src/pkg/crypto/openpgp/canonical_text_test.go |
| @@ -32,7 +32,7 @@ |
| func testCanonicalText(t *testing.T, input, expected string) { |
| - r := recordingHash{bytes.NewBuffer(nil)} |
| + r := recordingHash{new(bytes.Buffer)} |
| c := NewCanonicalTextHash(r) |
| c.Write([]byte(input)) |
| result := c.Sum() |