Files
swift-nio-http2/Tests
Kevin Sweeney d24bb5dd96 Fix tests on nghttp2-1.34.0 (#23)
Motivation:

nghttp2 changed the error code it returns when the server sends a GOAWAY.
It's now `.cancelled` instead of `.refusedStream`.

Modifications:

Don't require a specific error code in the tests, just require that an
error matching the expected stream ID occurred.

Result:

Tests will pass on nghttp2-1.34.0.
2018-11-02 08:55:24 -07:00
..