comparison rewrite.t @ 70:b9bf423929cc

Tests: rewrite redirect fixed in 0.7.34, remove TODO.
author Maxim Dounin <mdounin@mdounin.ru>
date Wed, 11 Feb 2009 15:12:43 +0300
parents 02b82337a3ec
children 1c0ec30614c6
comparison
equal deleted inserted replaced
69:30d6cce3f0bd 70:b9bf423929cc
65 like(http_get('/?a=b'), qr!^Location: http://example.com/\?a=b\x0d?$!ms, 65 like(http_get('/?a=b'), qr!^Location: http://example.com/\?a=b\x0d?$!ms,
66 'simple with args'); 66 'simple with args');
67 like(http_get('/add'), qr!^Location: http://example.com/\?c=d\x0d?$!ms, 67 like(http_get('/add'), qr!^Location: http://example.com/\?c=d\x0d?$!ms,
68 'add args'); 68 'add args');
69 69
70 TODO: {
71 local $TODO = 'broken since 0.1.18';
72
73 like(http_get('/add?a=b'), qr!^Location: http://example.com/\?c=d&a=b\x0d?$!ms, 70 like(http_get('/add?a=b'), qr!^Location: http://example.com/\?c=d&a=b\x0d?$!ms,
74 'add args with args'); 71 'add args with args');
75
76 }
77 72
78 like(http_get('/no?a=b'), qr!^Location: http://example.com/\?c=d\x0d?$!ms, 73 like(http_get('/no?a=b'), qr!^Location: http://example.com/\?c=d\x0d?$!ms,
79 'no args with args'); 74 'no args with args');
80 75
81 ############################################################################### 76 ###############################################################################