forked from quic-go/quic-go
stop using net.Error.Temporary in tests
This commit is contained in:
@@ -38,7 +38,6 @@ func expectTooManyStreamsError(err error) {
|
||||
ExpectWithOffset(1, err.Error()).To(Equal(errTooManyOpenStreams.Error()))
|
||||
nerr, ok := err.(net.Error)
|
||||
ExpectWithOffset(1, ok).To(BeTrue())
|
||||
ExpectWithOffset(1, nerr.Temporary()).To(BeTrue())
|
||||
ExpectWithOffset(1, nerr.Timeout()).To(BeFalse())
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user