changeset 595:6cdfd177319b

Tests: fixed typos and misspellings.
author Sergey Kandaurov <pluknet@nginx.com>
date Thu, 28 May 2015 15:13:55 +0300
parents 8dd5cf697eae
children e36b267021e3
files proxy_cache_lock.t proxy_cache_lock_ssi.t proxy_keepalive.t rewrite_unescape.t spdy.t upstream_hash.t
diffstat 6 files changed, 9 insertions(+), 9 deletions(-) [+]
line wrap: on
line diff
--- a/proxy_cache_lock.t
+++ b/proxy_cache_lock.t
@@ -73,10 +73,10 @@ EOF
 
 ###############################################################################
 
-# sequentional requests
+# sequential requests
 
 for my $i (1 .. 5) {
-	like(http_get('/seq'), qr/request 1/, 'sequentional request ' . $i);
+	like(http_get('/seq'), qr/request 1/, 'sequential request ' . $i);
 }
 
 # parallel requests
--- a/proxy_cache_lock_ssi.t
+++ b/proxy_cache_lock_ssi.t
@@ -92,7 +92,7 @@ EOF
 
 # this doesn't result in an infinite timeout as second subrequest
 # is woken up by the postpone filter once first subrequest completes,
-# but this is suboptimal behaviour
+# but this is suboptimal behavior
 
 my $s = http_get('/locked', start => 1);
 like(http_get('/ssi.html'), qr/end/, 'cache lock ssi');
--- a/proxy_keepalive.t
+++ b/proxy_keepalive.t
@@ -80,7 +80,7 @@ EOF
 
 ###############################################################################
 
-# There are 3 mostly independend modes of upstream operation:
+# There are 3 mostly independent modes of upstream operation:
 #
 # 1. Buffered, i.e. normal mode with "proxy_buffering on;"
 # 2. Unbuffered, i.e. "proxy_buffering off;".
--- a/rewrite_unescape.t
+++ b/rewrite_unescape.t
@@ -72,7 +72,7 @@ mkdir($t->testdir() . '/directory');
 
 ###############################################################################
 
-# Some rewrites and expected (?) behaviour
+# Some rewrites and expected (?) behavior
 #
 # /t1?r=http%3A%2F%2Fexample.com%2F%3Ffrom
 # rewrite ^ $arg_r? redirect;
@@ -119,9 +119,9 @@ location('/t1?r=http%3A%2F%2Fexample.com
 TODO: {
 local $TODO = 'not yet';
 
-# Fixing this cases will require major changes to the whole aproach and
+# Fixing this cases will require major changes to the whole approach and
 # likely to break some currently working cases.  On the other hand, current
-# behaviour is far from acceptable.  Should be carefully thought.
+# behavior is far from acceptable.  Should be carefully thought.
 
 location('/t1?r=http%3A%2F%2Fexample.com%2F%3Ffrom%3Dblah',
 	'http://example.com/?from=blah', 'escaped argument with complex query');
--- a/spdy.t
+++ b/spdy.t
@@ -480,7 +480,7 @@ is($frame->{data}, 1, 'priority 1');
 ($frame) = grep { $_->{type} eq "DATA" } @$frames;
 is($frame->{data}, 7, 'priority 7');
 
-# stream muliplexing + priority
+# stream multiplexing + priority
 
 $sess = new_session();
 $sid1 = spdy_stream($sess, { path => '/t1.html', prio => 7 });
--- a/upstream_hash.t
+++ b/upstream_hash.t
@@ -154,7 +154,7 @@ EOF
 
 ###############################################################################
 
-# Ony requests for absent peer are moved to other peers if hash is consistent.
+# Only requests for absent peer are moved to other peers if hash is consistent.
 # Check this by comparing two upstreams with different number of peers.
 
 ok(!cmp_peers([iter('/', 20)], [iter('/2', 20)], 8082), 'inconsistent');