Fedor Indutny
8a96bb42c6
test: make tests work with newer v8
12 years ago
Nathan Rajlich
4eb5399bb2
util: add a "customInspect" option to `util.inspect()`
For disabling calling the custom `inspect()` function when defined on an object
that is being inspected.
12 years ago
Nathan Rajlich
07774e6b95
util: make `inspect()` accept an "options" argument
Consolidates all the formatting options into an "options" object argument.
This is so that we don't have to be constantly remembering the order of
the arguments and so that we can add more formatting options easily.
Closes #4085 .
12 years ago
Nathan Rajlich
fb383a0ad0
util: make util.inspect() work when "hasOwnProperty" is overwritten
12 years ago
Pavel Lang
ff14007573
Enable color customization of `util.inspect`
This is rewrite of #3701 and #3603 before.
This patch introduce `util.inspect.styles`
and `util.inspect.colors` objects, which enables customization
of color sequences.
12 years ago
Alex Kocharin
e85927119c
util: handle non-string return value in .inspect()
13 years ago
isaacs
0cdf85e28d
Lint all the JavaScripts.
13 years ago
koichik
93298afc4e
test: for #2109
13 years ago
Andreas Madsen
4865063924
Tests: fix jslint issues
13 years ago
Nathan Rajlich
b204006105
util: ensure that the .inspect function isn't the one being executed
Fixes #2225 .
13 years ago
Ryan Dahl
850609ea2d
Remove separation of libuv tests
13 years ago
Nathan Rajlich
4fb2ac5be1
Add test cases for #1944 .
13 years ago
Nathan Rajlich
d4379fcee3
Add test case for #1941 .
Add test for the false-positives from #1942 .
Fix test-sys.js.
13 years ago
Colton Baker
87286cc737
Fixed a lot of jslint errors.
Fixes #1831
13 years ago
koichik
389e2a07e6
util: Fix inspection for Error
Fixes #1634 .
13 years ago
koichik
6139459d45
util: Fix inspection for sparse array
Fixes #1651 .
13 years ago
Nathan Rajlich
cafcc7e67a
test: add test case for util.isDate() behavior
13 years ago
Ryan Dahl
4e1d6fca8e
Mark tests which are broken in libuv
13 years ago
Ryan Dahl
55048cdf79
Update copyright headers
14 years ago
Oleg Efimov
093dfaf801
GJSLint all tests, only 3 long lines left in test-url.js
test/simple/test-url.js:31:(0110) Line too long (82 characters).
test/simple/test-url.js:39:(0110) Line too long (85 characters).
test/simple/test-url.js:40:(0110) Line too long (92 characters).
14 years ago
Ryan Dahl
a0159b4b29
Fix global leaks
14 years ago
Joshaven Potter
3d4e4d8909
syntax fixes to pass jslint
14 years ago
Ryan Dahl
9fd5e3c89c
Update tests to work with module contexts
15 years ago
Ryan Dahl
a934566eb9
Disable test-idle-watcher
IdleWatcher was disabled in a98d23d905
15 years ago
isaacs
5861db8a69
Remove process.mixin dependency from all tests.
15 years ago
arlolra
04fac19822
Split tests.
15 years ago
Ryan Dahl
aeb7d6d168
Add process.IdleWatcher
With priorities. Will be used for process.nextLoop().
15 years ago