2
0
mirror of https://github.com/soheilhy/cmux.git synced 2026-08-11 23:03:43 +08:00
Files
cmux/cmux_test.go
Soheil Hassas Yeganeh 210139db95 Change connection closed string in tests.
Go 1.8 and 1.9 use different text for the connection closed error.
Use their common prefix (i.e., "use of closed") in the tests for
them to pass on all Go versions.

Go 1.8: "use of closed network connection"
Go 1.9: "use of closed file or network connection"

Suggested-by: Damien Neil <dneil@google.com>
2017-03-13 09:57:57 -04:00

14 KiB