koichik
5f97c9a005
Improvements AssertionError message
...
Fixes #217 .
2011-07-14 02:08:24 +09:00
Ryan Dahl
5a05992155
Lint
2011-01-06 16:06:27 -08:00
Oleg Slobodskoi
23cf938e4f
fix assert.throws
2010-12-21 12:41:57 -08:00
Ryan Dahl
db78043d52
lint
2010-12-01 16:42:31 -08:00
Oleg Slobodskoi
02083412eb
assert.throws can now accept as RegExp
...
makes validation of errors more flexible
2010-11-29 17:22:36 -08:00
Micheil Smith
e38eb0c5a4
Soft migration of sys -> util, Removal of deprecated utils module.
2010-10-11 15:21:36 -07:00
Joshaven Potter
3d4e4d8909
syntax fixes to pass jslint
2010-10-06 20:40:57 -07:00
Ryan Dahl
1be722a271
Special deepEquals for buffer
2010-09-07 17:14:04 -07:00
Mikeal Rogers
fe3d8f2411
Add assert.ifError
2010-05-21 12:06:12 -07:00
isaacs
57fbb627ca
trailing whitespace fixes
2010-04-11 14:48:23 -07:00
Ryan Dahl
4ccdc501d4
Include lib/ directory in node executable. Compile on demand.
...
Instead of installing the files in /usr/lib/node/libraries and loading them
from the file system, the files are built-in to the node executable.
However, they are only compiled on demand.
The reasoning is:
1. Allow for more complex internal javascript. In particular,
process.stdout and process.stdin can be js implemented streams.
2. Ease system installs. Loading from disk each time is unnecessary
overhead. Note that there is no "system" path for modules anymore. Only
$HOME/.node_libraries.
2010-03-15 08:04:35 -07:00
Ryan Dahl
b021a845f7
Move process.inherits to sys
2010-03-01 11:39:35 -08:00
Ryan Dahl
c420c89dbd
Make assert.AssertionError instance of Error
2010-01-24 14:39:32 -08:00
Ryan Dahl
0accebe583
Stack trace for asserts shouldn't include assert module
2009-12-29 20:15:05 +01:00
Ryan Dahl
dd35637603
Fix assert.js code style
2009-12-29 20:10:59 +01:00
Karl Guertin
4f679fd8d0
Dependency free assert module with unit tests
2009-12-05 01:05:16 +01:00
Felix Geisendörfer
530328f12b
CommonJS testing for node.js
...
Refactored test suite to use the assert module for testing rather than
mjsunit.
2009-12-05 01:05:16 +01:00