aboutsummaryrefslogtreecommitdiff
path: root/src/testing/iotest/reader.go
diff options
context:
space:
mode:
Diffstat (limited to 'src/testing/iotest/reader.go')
-rw-r--r--src/testing/iotest/reader.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/testing/iotest/reader.go b/src/testing/iotest/reader.go
index a5bccca906..8d82018fd6 100644
--- a/src/testing/iotest/reader.go
+++ b/src/testing/iotest/reader.go
@@ -71,7 +71,7 @@ func (r *dataErrReader) Read(p []byte) (n int, err error) {
var ErrTimeout = errors.New("timeout")
// TimeoutReader returns ErrTimeout on the second read
-// with no data. Subsequent calls to read succeed.
+// with no data. Subsequent calls to read succeed.
func TimeoutReader(r io.Reader) io.Reader { return &timeoutReader{r, 0} }
type timeoutReader struct {