diff options
| author | Robert Griesemer <gri@golang.org> | 2014-12-29 10:54:42 -0800 |
|---|---|---|
| committer | Robert Griesemer <gri@golang.org> | 2014-12-29 19:05:37 +0000 |
| commit | c85a2bf9c2912bc09fb0d4cea93ffa91b3100136 (patch) | |
| tree | 6904a7cec0cd58637abe5667bc263d4b6b536f7b /src/testing/iotest | |
| parent | 29b4e34cf208653db1471134a1a6489581a30ff5 (diff) | |
| download | go-c85a2bf9c2912bc09fb0d4cea93ffa91b3100136.tar.xz | |
testing/iotest: fix copy/paste error in comment
Reported via unsupported GitHub pull request:
https://github.com/golang/go/pull/9436/
Change-Id: I12b00e8ccac700bb36b200196e2867fcc863fdf1
Reviewed-on: https://go-review.googlesource.com/2139
Reviewed-by: Alan Donovan <adonovan@google.com>
Diffstat (limited to 'src/testing/iotest')
| -rw-r--r-- | src/testing/iotest/logger.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/testing/iotest/logger.go b/src/testing/iotest/logger.go index 1475d9b0c6..0aec15c575 100644 --- a/src/testing/iotest/logger.go +++ b/src/testing/iotest/logger.go @@ -48,7 +48,7 @@ func (l *readLogger) Read(p []byte) (n int, err error) { // NewReadLogger returns a reader that behaves like r except // that it logs (using log.Print) each read to standard error, -// printing the prefix and the hexadecimal data written. +// printing the prefix and the hexadecimal data read. func NewReadLogger(prefix string, r io.Reader) io.Reader { return &readLogger{prefix, r} } |
