[Templates] Test failure for t/url2.t

Josh Rosenbaum josh@infogears.com
Wed, 26 Jul 2006 16:23:01 -0600


Bill Moseley wrote:
> Anyone else seeing this?
> 
>     ~/Template2$ prove -b  t/url2.t
>     t/url2....ok 1/19FAILED 5:  - template text 1 did not match expected         
>     t/url2....NOK 5FAILED 7:  - template text 2 did not match expected           
>     t/url2....NOK 7FAILED 9:  - template text 3 did not match expected           
>     t/url2....NOK 9FAILED 13:  - template text 5 did not match expected          
>     t/url2....NOK 13FAILED 17:  - template text 7 did not match expected         
>     t/url2....NOK 17FAILED 19:  - template text 8 did not match expected         
>     t/url2....FAILED tests 5, 7, 9, 13, 17, 19                                   
>             Failed 6/19 tests, 68.42% okay
>     Failed Test Stat Wstat Total Fail  Failed  List of Failed
>     -------------------------------------------------------------------------------
>     t/url2.t                  19    6  31.58%  5 7 9 13 17 19
>     Failed 1/1 test scripts, 0.00% okay. 6/19 subtests failed, 68.42% okay.
> 
> Fresh checkout from cvs and adding in a few extra prints, seems like
> the ';' are replaced by '&' which cause it to fail:
> 
> If I add in a bit of debugging:
> 
> expect ----- [/script?one=1;three=3;three=6;three=9;two=2;two=4]
> output ----- [/script?one=1&three=3&three=6&three=9&two=2&two=4]


Hi Bill,

I haven't been able to install 2.15 yet. It looks like when the & functionality was restored during the debate on what to use for the url joiner, the new tests weren't modified. So I think the url.t file needs to be modified to have expected output that uses '&' instead of ';'.

-- Josh