summaryrefslogtreecommitdiff
path: root/libgo/go/crypto/openpgp/canonical_text_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'libgo/go/crypto/openpgp/canonical_text_test.go')
-rw-r--r--libgo/go/crypto/openpgp/canonical_text_test.go3
1 files changed, 1 insertions, 2 deletions
diff --git a/libgo/go/crypto/openpgp/canonical_text_test.go b/libgo/go/crypto/openpgp/canonical_text_test.go
index ccf2910cc6c..ae54f8c83ee 100644
--- a/libgo/go/crypto/openpgp/canonical_text_test.go
+++ b/libgo/go/crypto/openpgp/canonical_text_test.go
@@ -6,7 +6,6 @@ package openpgp
import (
"bytes"
- "os"
"testing"
)
@@ -14,7 +13,7 @@ type recordingHash struct {
buf *bytes.Buffer
}
-func (r recordingHash) Write(b []byte) (n int, err os.Error) {
+func (r recordingHash) Write(b []byte) (n int, err error) {
return r.buf.Write(b)
}