Skip to content

Commit

Permalink
fix warning
Browse files Browse the repository at this point in the history
  • Loading branch information
plicease committed May 10, 2024
1 parent b6a787f commit b95cb9c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion t/plack_middleware_zstandard.t
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ subtest 'basic' => sub {
subtest 'short string as array' => sub {

my @content = ('Hello', undef, ' ', 'World');
local @res = ( 200, [ 'Content-Type' => 'text/plain', 'Content-Length' => length(join '', @content) ], [ @content ] );
local @res = ( 200, [ 'Content-Type' => 'text/plain', 'Content-Length' => length(join '', grep defined, @content) ], [ @content ] );

req(
GET('/', 'Accept-Encoding' => 'zstd'),
Expand Down

0 comments on commit b95cb9c

Please sign in to comment.