diff options
Diffstat (limited to 'src/lib/bufio_test.go')
-rw-r--r-- | src/lib/bufio_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/bufio_test.go b/src/lib/bufio_test.go index 4afad8340..ef97bc46e 100644 --- a/src/lib/bufio_test.go +++ b/src/lib/bufio_test.go @@ -135,7 +135,7 @@ func readBytes(buf *BufRead) string { nb++; } // BUG return string(b[0:nb]) ? - return string(b)[0:nb] + return string(b[0:nb]) } // Call Read to accumulate the text of a file |