comparison limit-req.t @ 113:5d31f920eda9

Tests: whitespace cleanup, no functional changes.
author Maxim Dounin <mdounin@mdounin.ru>
date Tue, 24 Nov 2009 13:57:43 +0300
parents 1c0ec30614c6
children 8ac1faaddd2c
comparison
equal deleted inserted replaced
112:4edfc490b6e5 113:5d31f920eda9
82 # after 1/rate seconds 82 # after 1/rate seconds
83 83
84 like(http_get('/test1.html'), qr/^HTTP\/1.. 200 /m, 'rejects not counted'); 84 like(http_get('/test1.html'), qr/^HTTP\/1.. 200 /m, 'rejects not counted');
85 85
86 # make sure negative excess values are handled properly 86 # make sure negative excess values are handled properly
87 87
88 http_get('/fast.html'); 88 http_get('/fast.html');
89 select undef, undef, undef, 0.1; 89 select undef, undef, undef, 0.1;
90 like(http_get('/fast.html'), qr/^HTTP\/1.. 200 /m, 'negative excess'); 90 like(http_get('/fast.html'), qr/^HTTP\/1.. 200 /m, 'negative excess');
91 91
92 ############################################################################### 92 ###############################################################################