mirror of
https://github.com/golang/go
synced 2024-11-05 14:36:11 -07:00
9ea0146da6
It was not very useful, it basically renamed io.EOF under some limited circumstances, and was only there for the befit of tests. Instead, the test now checks io.EOF directly, but also checks for io.ErrClosedPipe which was also happening. We also make sure we wrap errors rather than replacing them. This prevents some weird random test failures due to races in the way they were closed. Change-Id: I236b03ac5ba16bf763299b95d882cf58b1f74776 Reviewed-on: https://go-review.googlesource.com/c/tools/+/230303 Run-TryBot: Ian Cottrell <iancottrell@google.com> Reviewed-by: Robert Findley <rfindley@google.com> |
||
---|---|---|
.. | ||
servertest | ||
handler.go | ||
jsonrpc2_test.go | ||
jsonrpc2.go | ||
messages.go | ||
serve_test.go | ||
serve.go | ||
stream.go | ||
wire_test.go | ||
wire.go |