diff options
author | Loïc Hoguin <[email protected]> | 2011-04-14 01:10:57 +0200 |
---|---|---|
committer | Loïc Hoguin <[email protected]> | 2011-04-14 01:10:57 +0200 |
commit | 4048499af2a19ac876da30236bbf06fe3f7ffdb3 (patch) | |
tree | 3130ff9d80204e6a8b13f1218869638f69b13ab8 | |
parent | bc99200baef9f4ccb2bcf7d075aecabd9d084e8f (diff) | |
download | cowboy-4048499af2a19ac876da30236bbf06fe3f7ffdb3.tar.gz cowboy-4048499af2a19ac876da30236bbf06fe3f7ffdb3.tar.bz2 cowboy-4048499af2a19ac876da30236bbf06fe3f7ffdb3.zip |
Add a test case for cowboy_dispatcher:match/3.
Added it while debugging an issue, so why not keep it?
-rw-r--r-- | src/cowboy_dispatcher.erl | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/cowboy_dispatcher.erl b/src/cowboy_dispatcher.erl index 47da5cb..0743747 100644 --- a/src/cowboy_dispatcher.erl +++ b/src/cowboy_dispatcher.erl @@ -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, [], []}}, |