diff options
Diffstat (limited to 'src/pkg/bufio/bufio_test.go')
| -rw-r--r-- | src/pkg/bufio/bufio_test.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/pkg/bufio/bufio_test.go b/src/pkg/bufio/bufio_test.go index 389b4097d..7100bcfa5 100644 --- a/src/pkg/bufio/bufio_test.go +++ b/src/pkg/bufio/bufio_test.go @@ -84,12 +84,12 @@ var readMakers = []readMaker { readMaker{ "data+err", iotest.DataErrReader }, } -// Call ReadLineString (which ends up calling everything else) +// Call ReadString (which ends up calling everything else) // to accumulate the text of a file. func readLines(b *Reader) string { s := ""; for { - s1, e := b.ReadLineString('\n', true); + s1, e := b.ReadString('\n'); if e == os.EOF { break } |
