# HG changeset patch # User Sergey Kandaurov # Date 1520438617 -10800 # Node ID a94a0fc60d56ea7374487eaa624040a19352f157 # Parent 5d75938b26226154194ad76ea8e9da2e19dadfbd Tests: avoid empty DATA frame in h2_variables.t. diff --git a/h2_variables.t b/h2_variables.t --- a/h2_variables.t +++ b/h2_variables.t @@ -50,7 +50,7 @@ http { return 200 $scheme; } location /https { - return 200 $https; + return 200 "body $https"; } location /rl { return 200 $request_length; @@ -98,7 +98,7 @@ is($frame->{data}, 'http', 'scheme varia $frames = $s->read(all => [{ sid => $sid, fin => 1 }]); ($frame) = grep { $_->{type} eq "DATA" } @$frames; -is($frame->{data}, '', 'https variable'); +is($frame->{data}, 'body ', 'https variable'); # $request_length, HEADERS payload length