1
0
mirror of https://github.com/golang/go synced 2024-11-23 19:00:04 -07:00

bufio: fix typo in test

LGTM=dave
R=golang-codereviews, dave
CC=golang-codereviews
https://golang.org/cl/79120043
This commit is contained in:
Rui Ueyama 2014-03-22 17:40:17 -07:00 committed by Brad Fitzpatrick
parent ed97788af9
commit fa445849d1

View File

@ -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)
}
}