]> Cypherpunks repositories - gostls13.git/commit
bufio: fix UnreadByte
authorRobert Griesemer <gri@golang.org>
Wed, 9 Apr 2014 21:19:13 +0000 (14:19 -0700)
committerRobert Griesemer <gri@golang.org>
Wed, 9 Apr 2014 21:19:13 +0000 (14:19 -0700)
commit8bd9242f7cd27f69449b2cdae8acbf25a952134c
tree1b65a09e21f581ae1a2e1e99d83e2bdbb7f6b243
parenta8787cd820fb39575efed14617dde2fb8131b354
bufio: fix UnreadByte

Also:
- fix error messages in tests
- make tests more symmetric

Fixes #7607.

LGTM=r
R=r
CC=golang-codereviews
https://golang.org/cl/86180043
src/pkg/bufio/bufio.go
src/pkg/bufio/bufio_test.go