diff upstream_hash.t @ 925:6bb1f2ccd386

Tests: removed unused variables.
author Andrey Zelenkov <zelenkov@nginx.com>
date Fri, 13 May 2016 14:46:07 +0300
parents 6cdfd177319b
children e9064d691790
line wrap: on
line diff
--- a/upstream_hash.t	Thu May 12 18:03:51 2016 +0300
+++ b/upstream_hash.t	Fri May 13 14:46:07 2016 +0300
@@ -218,7 +218,7 @@
 	my ($uri, $count) = @_;
 	my %ports;
 
-	for my $i (1 .. $count) {
+	for (1 .. $count) {
 		if (http_get($uri) =~ /X-Port: (\d+)/) {
 			$ports{$1} = 0 unless defined $ports{$1};
 			$ports{$1}++;