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:
parent
ed97788af9
commit
fa445849d1
@ -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)
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user