Mercurial > hg > nginx-tests
diff h2.t @ 1937:2a0a6035a1af
Tests: removed TODO and try_run() checks for legacy versions.
author | Sergey Kandaurov <pluknet@nginx.com> |
---|---|
date | Fri, 25 Aug 2023 18:12:08 +0400 |
parents | 236d038dc04a |
children |
line wrap: on
line diff
--- a/h2.t +++ b/h2.t @@ -304,9 +304,6 @@ is($frame, undef, 'HEAD - no body'); # CONNECT -TODO: { -local $TODO = 'not yet' unless $t->has_version('1.21.1'); - $s = Test::Nginx::HTTP2->new(); $sid = $s->new_stream({ method => 'CONNECT' }); $frames = $s->read(all => [{ sid => $sid, fin => 1 }]); @@ -314,8 +311,6 @@ local $TODO = 'not yet' unless $t->has_v ($frame) = grep { $_->{type} eq "HEADERS" } @$frames; is($frame->{headers}->{':status'}, 405, 'CONNECT - not allowed'); -} - # TRACE $s = Test::Nginx::HTTP2->new();