diff --git a/.travis.yml b/.travis.yml index da824cb..d43e278 100644 --- a/.travis.yml +++ b/.travis.yml @@ -4,6 +4,7 @@ go: - 1.5 - 1.6 - 1.7 + - 1.8 - tip matrix: diff --git a/cmux_test.go b/cmux_test.go index 17945c8..5331519 100644 --- a/cmux_test.go +++ b/cmux_test.go @@ -42,7 +42,7 @@ const ( ) func safeServe(errCh chan<- error, muxl CMux) { - if err := muxl.Serve(); !strings.Contains(err.Error(), "use of closed network connection") { + if err := muxl.Serve(); !strings.Contains(err.Error(), "use of closed") { errCh <- err } }