On Nov 12, 8:33 pm, Tang Tianyong <[email protected]> wrote:
> assert.fail(iX, iY, "iX is bigger than iY", "<");
> // prints nothing, because it does not fail

This *should* print something, and it does when I try it on node
0.8.14.

assert.fail() should *always* throw an exception. It does not do any
checks: https://github.com/joyent/node/blob/v0.8/lib/assert.js#L101

-- 
Job Board: http://jobs.nodejs.org/
Posting guidelines: 
https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
You received this message because you are subscribed to the Google
Groups "nodejs" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/nodejs?hl=en?hl=en

Reply via email to