diff options
author | Loïc Hoguin <[email protected]> | 2013-08-26 18:57:34 +0200 |
---|---|---|
committer | Loïc Hoguin <[email protected]> | 2013-08-26 18:57:34 +0200 |
commit | e176953cd095e8c65d56461f840a14d53c57a1c1 (patch) | |
tree | 08bd22a056adf94b1b8a44f3c03da6cf4ed48b29 /test/twitter_SUITE.erl | |
parent | 5388696cf95d6c9b4400952bfcf3fb9db215c63c (diff) | |
download | gun-e176953cd095e8c65d56461f840a14d53c57a1c1.tar.gz gun-e176953cd095e8c65d56461f840a14d53c57a1c1.tar.bz2 gun-e176953cd095e8c65d56461f840a14d53c57a1c1.zip |
Sync message signature with documentation
Diffstat (limited to 'test/twitter_SUITE.erl')
-rw-r--r-- | test/twitter_SUITE.erl | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/twitter_SUITE.erl b/test/twitter_SUITE.erl index 26afdc3..ba3f949 100644 --- a/test/twitter_SUITE.erl +++ b/test/twitter_SUITE.erl @@ -51,7 +51,7 @@ spdy(_) -> {ok, Pid} = gun:open("twitter.com", 443, []), Ref = gun:get(Pid, "/"), receive - {gun, response, Pid, Ref, Status, Headers} -> + {gun_response, Pid, Ref, Status, Headers} -> ct:print("response ~p ~p", [Status, Headers]), data_loop(Pid, Ref) after 5000 -> @@ -60,10 +60,10 @@ spdy(_) -> data_loop(Pid, Ref) -> receive - {gun, data, Pid, Ref, nofin, Data} -> + {gun_data, Pid, Ref, nofin, Data} -> ct:print("data ~p", [Data]), data_loop(Pid, Ref); - {gun, data, Pid, Ref, fin, Data} -> + {gun_data, Pid, Ref, fin, Data} -> ct:print("data ~p~nend", [Data]) after 5000 -> error(timeout) |