comparison http_location.t @ 343:e7dc8f4d0a4b

Tests: whitespace and spelling fixes.
author Sergey Kandaurov <pluknet@nginx.com>
date Thu, 26 Sep 2013 12:51:21 +0400
parents b86d60e4cb96
children 847ea345becb
comparison
equal deleted inserted replaced
342:86fa2a5a37ea 343:e7dc8f4d0a4b
117 SKIP: { 117 SKIP: {
118 skip 'caseless os', 1 118 skip 'caseless os', 1
119 if $^O eq 'MSWin32' or $^O eq 'darwin'; 119 if $^O eq 'MSWin32' or $^O eq 'darwin';
120 120
121 like(http_get('/CASEFULL/'), qr/X-Location: root/, 121 like(http_get('/CASEFULL/'), qr/X-Location: root/,
122 'casefull regex do not match wrong case'); 122 'casefull regex do not match wrong case');
123 } 123 }
124 124
125 # on case-insensitive systems a request to "/UPPERCASE" fails, 125 # on case-insensitive systems a request to "/UPPERCASE" fails,
126 # as location search tree is incorrectly sorted if uppercase 126 # as location search tree is incorrectly sorted if uppercase
127 # characters are used in location directives (ticket #90) 127 # characters are used in location directives (ticket #90)