W3C home > Mailing lists > Public > public-qt-comments@w3.org > October 2012

[Bug 19782] test cases using 'assert-eq' for numeric values instead of 'assert'

From: <bugzilla@jessica.w3.org>
Date: Wed, 31 Oct 2012 13:20:27 +0000
To: public-qt-comments@w3.org
Message-ID: <bug-19782-523-GsmZZ0rH0j@http.www.w3.org/Bugs/Public/>
https://www.w3.org/Bugs/Public/show_bug.cgi?id=19782

--- Comment #12 from Michael Kay <mike@saxonica.com> ---
>Means that
<assert-eq>"integer decimal float double"</assert-eq>
would not succeed when compared to ('integer', 'decimal', 'float', 'double')
and would succeed when compared to ('"', 'integer', 'decimal', 'float',
'double', '"') right?

This test, no doubt for historic reasons, returns a single string, not a
sequence of four (or six) strings, and the assertion compares the result by
comparing the value of that single string using the "eq" operator.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
Received on Wednesday, 31 October 2012 13:20:31 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 31 October 2012 13:20:31 GMT