From: Reece Dunn (msclrhd_at_[hidden])
Date: 2005-01-04 07:20:24
Vladimir Prus wrote:
> On Sunday 02 January 2005 03:33, you wrote:
>> # VP, 2004-12-03 The following test fails for some reason,
>> # so commenting it out.
>> #assert.result "one two three" "&<>" :
>> # escape-html "one two three" "&<>" ;
>>Seeing this worries me greatly. A failing test should never just be
>>commented out because we don't know why it's failing. Either determine
>>that the test was wrong and remove it cleanly, or fix whatever is making
> The attached message mentions this case. I was hoping Rene would comment.
> I just got the following:
> /home/ghost/Work/boost/tools/build/v2/util/print.jam:463: in __test__ from
> module __test-print__
> error: assertion failure: [ escape-html "one two three" "&<>" ]
> error: expected: "one two three" "&<>"
> error: got: "one two three" "&<>"
Is this because of the type of whitespace in "one two three"? The normal
space character is \x20 and is not escaped, whereas \xA0 (non-breaking
space) is escaped as .
Does this help?
Boost-Build list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk