visionmedia/expresso — Issue #146: 0.6.0 assert is a function but not in expresso
Author: nalply
Created: 2011-10-26 17:33:55+00:00
State: open

`assert()` is same as `assert.ok()`.

nalp@muse:~$ node -v; node -e 'require("assert")(false)'
v0.5.10

assert.js:104
throw new assert.AssertionError({
^
AssertionError: false == true
at Object. (eval at (eval:1:75))
at Object. (eval:1:63)
at Module._compile (module.js:432:26)
at startup (node.js:84:14)
at node.js:534:3

but in expresso it's not so.