From e176953cd095e8c65d56461f840a14d53c57a1c1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20Hoguin?= Date: Mon, 26 Aug 2013 18:57:34 +0200 Subject: Sync message signature with documentation --- test/twitter_SUITE.erl | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'test/twitter_SUITE.erl') 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) -- cgit v1.2.3