aboutsummaryrefslogtreecommitdiffstats
path: root/test/req_SUITE.erl
diff options
context:
space:
mode:
authorgeeksilva97 <[email protected]>2024-01-18 20:50:27 -0300
committerLoïc Hoguin <[email protected]>2024-01-23 14:11:29 +0100
commit08c2be058a1c376fcb80465473b53085c14f88f5 (patch)
tree81ffac7199ba181f801ce43bf738df7f52b0f428 /test/req_SUITE.erl
parent3e145af9b9e8d61ca042d1f94287d16b5ac155dd (diff)
downloadcowboy-08c2be058a1c376fcb80465473b53085c14f88f5.tar.gz
cowboy-08c2be058a1c376fcb80465473b53085c14f88f5.tar.bz2
cowboy-08c2be058a1c376fcb80465473b53085c14f88f5.zip
Fix match_qs with constraints when key is not present
Original fix by Ali Farhadi <[email protected]>.
Diffstat (limited to 'test/req_SUITE.erl')
-rw-r--r--test/req_SUITE.erl1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/req_SUITE.erl b/test/req_SUITE.erl
index 6e111bb..183bd4b 100644
--- a/test/req_SUITE.erl
+++ b/test/req_SUITE.erl
@@ -266,6 +266,7 @@ match_qs(Config) ->
end,
%% Ensure match errors result in a 400 response.
{400, _, _} = do_get("/match/qs/a/c?a=b", [], Config),
+ {400, _, _} = do_get("/match/qs_with_constraints", [], Config),
%% This function is tested more extensively through unit tests.
ok.