diff options
| author | Artyom Pervukhin <artyom.pervukhin@gmail.com> | 2017-10-19 15:49:43 +0300 |
|---|---|---|
| committer | Ian Lance Taylor <iant@golang.org> | 2017-10-19 15:59:21 +0000 |
| commit | 5313d3f23694fdc051ed095960345df01670107e (patch) | |
| tree | eedc9a78cd8fd94b0d84fe0098fc3317cdad453c /src/testing | |
| parent | d790ea3ef1152cd8aded824ffca50a8c56577469 (diff) | |
| download | go-5313d3f23694fdc051ed095960345df01670107e.tar.xz | |
testing/iotest: fix NewReadLogger documentation typo
Change-Id: I094af156e7b8c31af3162d943a8c61268803ab89
Reviewed-on: https://go-review.googlesource.com/71830
Reviewed-by: Gabriel Aszalos <gabriel.aszalos@gmail.com>
Reviewed-by: Ian Lance Taylor <iant@golang.org>
Run-TryBot: Gabriel Aszalos <gabriel.aszalos@gmail.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Diffstat (limited to 'src/testing')
| -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 0aec15c575..99548dcfed 100644 --- a/src/testing/iotest/logger.go +++ b/src/testing/iotest/logger.go @@ -47,7 +47,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, +// that it logs (using log.Printf) each read to standard error, // printing the prefix and the hexadecimal data read. func NewReadLogger(prefix string, r io.Reader) io.Reader { return &readLogger{prefix, r} |
