From 21d9ebe33b3eaf65a4118fc5c3e7364e64d63769 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20Hoguin?= Date: Sat, 4 Oct 2014 13:21:16 +0300 Subject: Reverse the order of arguments of match_* functions Wasn't following the same order as the rest of the module. --- test/http_SUITE_data/http_req_attr.erl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/http_SUITE_data/http_req_attr.erl') diff --git a/test/http_SUITE_data/http_req_attr.erl b/test/http_SUITE_data/http_req_attr.erl index ce9c185..d8483a5 100644 --- a/test/http_SUITE_data/http_req_attr.erl +++ b/test/http_SUITE_data/http_req_attr.erl @@ -7,7 +7,7 @@ -export([init/2]). init(Req, Opts) -> - #{attr := Attr} = cowboy_req:match_qs(Req, [attr]), + #{attr := Attr} = cowboy_req:match_qs([attr], Req), <<"host_and_port">> = Attr, Host = cowboy_req:host(Req), Port = cowboy_req:port(Req), -- cgit v1.2.3