Mercurial > hg > nginx-tests
diff stream_js_variables.t @ 1558:e9096949d5f5
Tests: stream_js_variables.t cleanup.
author | Dmitry Volyntsev <xeioex@nginx.com> |
---|---|
date | Thu, 19 Mar 2020 19:34:58 +0300 |
parents | 53ed2231403b |
children | f3ba4c74de31 |
line wrap: on
line diff
--- a/stream_js_variables.t +++ b/stream_js_variables.t @@ -97,16 +97,3 @@ is(stream('127.0.0.1:' . port(8082))->re $t->stop(); ############################################################################### -# -sub get { - my ($url, %extra) = @_; - - my $s = IO::Socket::INET->new( - Proto => 'tcp', - PeerAddr => '127.0.0.1:' . port(8080) - ) or die "Can't connect to nginx: $!\n"; - - return http_get($url, socket => $s); -} - -###############################################################################