# HG changeset patch # User Sergey Kandaurov # Date 1432815235 -10800 # Node ID 6cdfd177319bf57b02bc75b9cc3ff63eb21df197 # Parent 8dd5cf697eae82d84716d7bad21f8bdc1945b28b Tests: fixed typos and misspellings. diff --git a/proxy_cache_lock.t b/proxy_cache_lock.t --- 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 diff --git a/proxy_cache_lock_ssi.t b/proxy_cache_lock_ssi.t --- 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'); diff --git a/proxy_keepalive.t b/proxy_keepalive.t --- 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;". diff --git a/rewrite_unescape.t b/rewrite_unescape.t --- 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'); diff --git a/spdy.t b/spdy.t --- 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 }); diff --git a/upstream_hash.t b/upstream_hash.t --- 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');