diff options
author | Loïc Hoguin <[email protected]> | 2019-09-06 15:37:42 +0200 |
---|---|---|
committer | Loïc Hoguin <[email protected]> | 2019-09-06 15:37:42 +0200 |
commit | 36836594f83a9dfdb30472a792d7ff73b3b48e3e (patch) | |
tree | 3f65fd92ebc0798fc147ccd8e8269c09f564ced0 /test/stream_handler_SUITE.erl | |
parent | 86c16fdccc48b1e97424a1e1fd59d95ebf4a35a3 (diff) | |
download | cowboy-36836594f83a9dfdb30472a792d7ff73b3b48e3e.tar.gz cowboy-36836594f83a9dfdb30472a792d7ff73b3b48e3e.tar.bz2 cowboy-36836594f83a9dfdb30472a792d7ff73b3b48e3e.zip |
Fix tests failing following Gun update to master
Diffstat (limited to 'test/stream_handler_SUITE.erl')
-rw-r--r-- | test/stream_handler_SUITE.erl | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/stream_handler_SUITE.erl b/test/stream_handler_SUITE.erl index c821b38..02aa437 100644 --- a/test/stream_handler_SUITE.erl +++ b/test/stream_handler_SUITE.erl @@ -101,7 +101,7 @@ crash_in_init(Config) -> %% Receive a 500 error response. case gun:await(ConnPid, Ref) of {response, fin, 500, _} -> ok; - {error, {stream_error, internal_error, _}} -> ok + {error, {stream_error, {stream_error, internal_error, _}}} -> ok end. crash_in_data(Config) -> @@ -123,7 +123,7 @@ crash_in_data(Config) -> %% Receive a 500 error response. case gun:await(ConnPid, Ref) of {response, fin, 500, _} -> ok; - {error, {stream_error, internal_error, _}} -> ok + {error, {stream_error, {stream_error, internal_error, _}}} -> ok end. crash_in_info(Config) -> @@ -144,7 +144,7 @@ crash_in_info(Config) -> %% Receive a 500 error response. case gun:await(ConnPid, Ref) of {response, fin, 500, _} -> ok; - {error, {stream_error, internal_error, _}} -> ok + {error, {stream_error, {stream_error, internal_error, _}}} -> ok end. crash_in_terminate(Config) -> |