# HG changeset patch # User Sergey Kandaurov # Date 1518436000 -10800 # Node ID fd281e3a3df5989418d777549723282e73c68f9a # Parent 5bbade306a0de02a96b16b1f50ba3aa9f8e78521 Tests: better test names in h2_server_push.t. diff --git a/h2_server_push.t b/h2_server_push.t --- a/h2_server_push.t +++ b/h2_server_push.t @@ -175,7 +175,7 @@ is(grep({ $_->{type} eq "PUSH_PROMISE" } $s = Test::Nginx::HTTP2->new(); $sid = $s->new_stream({ path => '/both' }); $frames = $s->read(all => [{ sid => 8, fin => 1 }], wait => 0.5); -is(grep({ $_->{type} eq "PUSH_PROMISE" } @$frames), 2, 'preload proxy'); +is(grep({ $_->{type} eq "PUSH_PROMISE" } @$frames), 2, 'h2_push and preload'); # h2_push @@ -184,7 +184,7 @@ is(grep({ $_->{type} eq "PUSH_PROMISE" } $frames = $s->read(all => [{ sid => 1, fin => 1 }, { sid => 2, fin => 1 }]); ($frame) = grep { $_->{type} eq "PUSH_PROMISE" } @$frames; -ok($frame, 'PUSH_PROMISE'); +ok($frame, 'h2_push only'); # h2_push off