Skip to content

Commit 55dfc05

Browse files
committed
Tests: avoid empty DATA frame in h2_variables.t.
1 parent 02d42f0 commit 55dfc05

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

h2_variables.t

+2-2
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ http {
5050
return 200 $scheme;
5151
}
5252
location /https {
53-
return 200 $https;
53+
return 200 "body $https";
5454
}
5555
location /rl {
5656
return 200 $request_length;
@@ -98,7 +98,7 @@ $sid = $s->new_stream({ path => '/https' });
9898
$frames = $s->read(all => [{ sid => $sid, fin => 1 }]);
9999

100100
($frame) = grep { $_->{type} eq "DATA" } @$frames;
101-
is($frame->{data}, '', 'https variable');
101+
is($frame->{data}, 'body ', 'https variable');
102102

103103
# $request_length, HEADERS payload length
104104

0 commit comments

Comments
 (0)