0
Fork 0
mirror of https://github.com/ninenines/cowboy.git synced 2025-07-14 20:30:23 +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:
Loïc Hoguin 2011-04-14 01:10:57 +02:00
parent bc99200bae
commit 4048499af2

View file

@ -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, [], []}},