[plexippus-xpath-devel] Problem with ASSERT-EQUAL in test.lisp

Chaitanya Gupta mail at chaitanyagupta.com
Sun Jul 27 10:03:07 UTC 2008


Hi,

I am using ACL 8.0 on an Intel Mac. When I run XPATH::RUN-ALL-TESTS, I 
encounter the following error:


TEST FAILED:
(XPATH:EVALUATE "count(//following::div) * 10 + count(//div|body/div)"
                (CXML:PARSE-ROD 
"<html><body><span></span><br/><div></div></body></html>"
                                XPATH::*DOM-BUILDER*))
is expected to be
11.0d0
but was
11


If I change ASSERT-EQUAL (in test.lisp) to use EQUALP insted of EQUAL, 
the tests run fine on my lisp.

I have also attached the patch (darcs diff -u).

Chaitanya



-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: plexippus-xpath.patch
URL: <https://mailman.common-lisp.net/pipermail/plexippus-xpath-devel/attachments/20080727/e681b64b/attachment.ksh>


More information about the plexippus-xpath-devel mailing list