summaryrefslogtreecommitdiff
path: root/libgo/go/tabwriter/tabwriter_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'libgo/go/tabwriter/tabwriter_test.go')
-rw-r--r--libgo/go/tabwriter/tabwriter_test.go3
1 files changed, 1 insertions, 2 deletions
diff --git a/libgo/go/tabwriter/tabwriter_test.go b/libgo/go/tabwriter/tabwriter_test.go
index 6ef7e808eff..1ffb330d432 100644
--- a/libgo/go/tabwriter/tabwriter_test.go
+++ b/libgo/go/tabwriter/tabwriter_test.go
@@ -6,7 +6,6 @@ package tabwriter
import (
"io"
- "os"
"testing"
)
@@ -18,7 +17,7 @@ func (b *buffer) init(n int) { b.a = make([]byte, n)[0:0] }
func (b *buffer) clear() { b.a = b.a[0:0] }
-func (b *buffer) Write(buf []byte) (written int, err os.Error) {
+func (b *buffer) Write(buf []byte) (written int, err error) {
n := len(b.a)
m := len(buf)
if n+m <= cap(b.a) {