# HG changeset patch # User Andrey Zelenkov # Date 1479733792 -10800 # Node ID cca0bff99733cc110d9a5e3bd34d33a06750a151 # Parent cd4395a68fc66cd434eaee6cbff727481229af7f Tests: remove unused short port number mapping. diff --git a/lib/Test/Nginx.pm b/lib/Test/Nginx.pm --- a/lib/Test/Nginx.pm +++ b/lib/Test/Nginx.pm @@ -342,7 +342,6 @@ sub port { my ($num, %opts) = @_; my ($s_tcp, $s_udp, $port); - $num += 8080 if $num < 1000; goto done if defined $ports{$num}; $port = $num;