Commit fa445849 authored by Rui Ueyama's avatar Rui Ueyama Committed by Brad Fitzpatrick

bufio: fix typo in test

LGTM=dave
R=golang-codereviews, dave
CC=golang-codereviews
https://golang.org/cl/79120043
parent ed97788a
......@@ -1056,7 +1056,7 @@ func TestWriterReadFromWhileFull(t *testing.T) {
// Use ReadFrom to read in some data.
n2, err := w.ReadFrom(strings.NewReader("abcdef"))
if n2 != 6 || err != nil {
t.Fatalf("ReadFrom returned (%v, %v), want (6, nil)", n, err)
t.Fatalf("ReadFrom returned (%v, %v), want (6, nil)", n2, err)
}
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment