Skip to content

Commit

Permalink
plack#570 Remove test that expects cookie to be delimited by comma
Browse files Browse the repository at this point in the history
  • Loading branch information
kazeburo committed Oct 5, 2016
1 parent b56224a commit 7a6907b
Showing 1 changed file with 0 additions and 19 deletions.
19 changes: 0 additions & 19 deletions t/Plack-Request/cookie.t
Original file line number Diff line number Diff line change
Expand Up @@ -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;

0 comments on commit 7a6907b

Please sign in to comment.