2
0
mirror of https://github.com/soheilhy/cmux.git synced 2026-08-05 08:13:50 +08:00
Files
cmux/cmux_test.go
Soheil Hassas Yeganeh b9e684ba4e Fix TestClose for Go10.
Depending on the Go version used, reading from a closed pipe can return
net.OpError or io.ErrClosedPipe. Simply check the string content of the
error.
2017-12-04 12:53:26 -05:00

16 KiB