summaryrefslogtreecommitdiff
path: root/src/lib/bufio_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/bufio_test.go')
-rw-r--r--src/lib/bufio_test.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/bufio_test.go b/src/lib/bufio_test.go
index 17fb379cb..9ffd6cbfd 100644
--- a/src/lib/bufio_test.go
+++ b/src/lib/bufio_test.go
@@ -174,12 +174,12 @@ var bufsizes = []int {
}
func TestBufReadSimple(t *testing.T) {
- b, e := NewBufRead(newByteReader(io.StringBytes("hello world")));
+ b := NewBufRead(newByteReader(io.StringBytes("hello world")));
if s := readBytes(b); s != "hello world" {
t.Errorf("simple hello world test failed: got %q", s);
}
- b, e = NewBufRead(newRot13Reader(newByteReader(io.StringBytes("hello world"))));
+ b = NewBufRead(newRot13Reader(newByteReader(io.StringBytes("hello world"))));
if s := readBytes(b); s != "uryyb jbeyq" {
t.Error("rot13 hello world test failed: got %q", s);
}