mirror of
https://github.com/ninenines/cowboy.git
synced 2025-07-14 12:20:24 +00:00
Add a test case for cowboy_dispatcher:match/3.
Added it while debugging an issue, so why not keep it?
This commit is contained in:
parent
bc99200bae
commit
4048499af2
1 changed files with 1 additions and 0 deletions
|
@ -166,6 +166,7 @@ match_test_() ->
|
|||
{ok, match_any_subdomain_users, [], []}},
|
||||
{["www", "dev-extend", "eu"], ["users", "42", "mails"],
|
||||
{ok, match_any, [], []}},
|
||||
{["www", "dev-extend", "eu"], [], {ok, match_any, [], []}},
|
||||
{["www", "any", "dev-extend", "eu"], ["not_users", "42", "mails"],
|
||||
{error, notfound, path}},
|
||||
{["dev-extend", "eu"], [], {ok, match_extend, [], []}},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue