From 7a6907b4ff0715594941125180cf5e9a1e8b24fe Mon Sep 17 00:00:00 2001 From: Masahiro Nagano Date: Thu, 6 Oct 2016 01:30:01 +0900 Subject: [PATCH] #570 Remove test that expects cookie to be delimited by comma --- t/Plack-Request/cookie.t | 19 ------------------- 1 file changed, 19 deletions(-) diff --git a/t/Plack-Request/cookie.t b/t/Plack-Request/cookie.t index 65b94e7fb..d44bab5e8 100644 --- a/t/Plack-Request/cookie.t +++ b/t/Plack-Request/cookie.t @@ -55,23 +55,4 @@ test_psgi $app, sub { $cb->(HTTP::Request->new(GET => "/")); }; -$app = sub { - my $warn = 0; - local $SIG{__WARN__} = sub { $warn++ }; - - my $req = Plack::Request->new(shift); - - is $req->cookies->{Foo}, 'Bar'; - is $warn, 0; - - $req->new_response(200)->finalize; -}; - -test_psgi $app, sub { - my $cb = shift; - my $req = HTTP::Request->new(GET => "/"); - $req->header(Cookie => 'Foo=Bar,; Bar=Baz;'); - $cb->($req); -}; - done_testing;