changeset 600:3832869ba854

Tests: cleanup stub_status tests.
author Andrey Zelenkov <zelenkov@nginx.com>
date Tue, 02 Jun 2015 12:44:47 +0300
parents 868ff7169ec8
children 3a9a7b4f27f0
files stub_status.t
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/stub_status.t
+++ b/stub_status.t
@@ -73,7 +73,7 @@ is($status{'reading'}, 0, 'not reading')
 
 # pipelined requests
 
-my $s = http(<<EOF);
+http(<<EOF);
 GET / HTTP/1.1
 Host: localhost
 
@@ -89,7 +89,7 @@ is($status{'accepts'}, 4, 'accepts incre
 
 # states
 
-$s = http('', start => 1);
+my $s = http('', start => 1);
 
 %status = status('/stub');
 is($status{'active'}, 2, 'active');