0
Fork 0
mirror of https://github.com/ninenines/cowboy.git synced 2025-07-14 12:20:24 +00:00

Fix wrong percent encoding in a router test

This commit is contained in:
Loïc Hoguin 2017-06-28 18:59:20 +02:00
parent eb1a06cf5d
commit 09506e7b5f
No known key found for this signature in database
GPG key ID: 71366FF21851DF03

View file

@ -461,7 +461,7 @@ split_path_test_() ->
{<<"/extend//cowboy">>, [<<"extend">>, <<>>, <<"cowboy">>]},
{<<"/users">>, [<<"users">>]},
{<<"/users/42/friends">>, [<<"users">>, <<"42">>, <<"friends">>]},
{<<"/users/a+b/c%21d">>, [<<"users">>, <<"a b">>, <<"c!d">>]}
{<<"/users/a%20b/c%21d">>, [<<"users">>, <<"a b">>, <<"c!d">>]}
],
[{P, fun() -> R = split_path(P) end} || {P, R} <- Tests].