X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=catagits%2FCatalyst-Runtime.git;a=blobdiff_plain;f=t%2Fquery_keywords_and_parameters.t;h=6801cf0c7d4f12745193c880813be8cc38873886;hp=29e009326f5fc43fec08c2946c0d8e5c23be8350;hb=fa2d8e3857cd3960f868d393e913377bd13f57a2;hpb=3dbe9f3d36e8304a4ae8bac5182d547386ff20a6 diff --git a/t/query_keywords_and_parameters.t b/t/query_keywords_and_parameters.t index 29e0093..6801cf0 100644 --- a/t/query_keywords_and_parameters.t +++ b/t/query_keywords_and_parameters.t @@ -25,7 +25,7 @@ use Catalyst::Test 'MyApp'; # These tests assume that the decoding that occurs for the query string follows # the payload decoding algorithm described here: -# https://www.w3.org/TR/html5/forms.html#url-encoded-form-data +# https://www.w3.org/TR/html5/forms.html#url-encoded-form-data { ok my $req = GET 'root/bar'; @@ -42,7 +42,7 @@ use Catalyst::Test 'MyApp'; my ($res, $c) = ctx_request($req); - is $c->req->query_keywords, '', 'query_keywords is not defined with empty query string'; + ok !defined $c->req->query_keywords, 'query_keywords is not defined when ? with empty query string'; is_deeply $c->req->query_parameters, {}, 'query_parameters defined, but empty with empty query string'; }