~ubuntu-branches/debian/sid/libplack-perl/sid

« back to all changes in this revision

Viewing changes to t/Plack-Middleware/lint_env.t

  • Committer: Package Import Robot
  • Author(s): gregor herrmann
  • Date: 2015-06-27 16:48:50 UTC
  • mfrom: (1.1.31)
  • Revision ID: package-import@ubuntu.com-20150627164850-okj0vyres91lv6fj
Tags: 1.0037-1
* Import upstream version 1.0037.
* Bump versioned (build) dependency on libhttp-headers-fast-perl.

Show diffs side-by-side

added added

removed removed

Lines of Context:
20
20
    [ { REQUEST_METHOD => "foo" },, qr/Invalid env param: REQUEST_METHOD/ ],
21
21
    [ { PATH_INFO => 'foo' }, qr/PATH_INFO must begin with \// ],
22
22
    [ { SERVER_PORT => undef }, qr/Missing mandatory .*SERVER_PORT/ ],
23
 
    [ { SERVER_PROTOCOL => 'HTTP/2.2' }, qr/Invalid SERVER_PROTOCOL/ ],
 
23
    [ { SERVER_PROTOCOL => 'HTTP/x' }, qr/Invalid SERVER_PROTOCOL/ ],
24
24
    [ { "psgi.version" => 2 }, qr/psgi\.version should be ArrayRef/ ],
25
25
    [ { HTTP_CONTENT_TYPE => "text/plain" }, qr/HTTP_CONTENT_TYPE should not exist/ ],
26
26
);