Rod Vagg
684dd28a6c
util: format as Error if instanceof Error
11 years ago
Ben Noordhuis
2cd7adc7f4
util: don't throw on circular %j input to format()
Don't throw an exception when the argument to %j is an object that
contains circular references, it's not helpful. Catch the exception
and return the string '[Circular]'.
11 years ago
ssuda
578ba76e6c
util: fix util.format() formatting of %%
13 years ago
Ryan Dahl
850609ea2d
Remove separation of libuv tests
13 years ago
Ryan Dahl
4e1d6fca8e
Mark tests which are broken in libuv
13 years ago
koichik
d439c092c2
Improve util.format() compatibility with browser.
Fixes #1434 .
13 years ago
koichik
d3d8f1b972
Add %% escape to util.format()
Fixes #1273 .
13 years ago
Ben Noordhuis
874260b40f
util: add sprintf-like format() function
Fixes #1407 .
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
Micheil Smith
e38eb0c5a4
Soft migration of sys -> util, Removal of deprecated utils module.
14 years ago
Ryan Dahl
9fd5e3c89c
Update tests to work with module contexts
15 years ago
Ryan Dahl
cb79614f73
Don't encourage strange ideas about req race conditions
15 years ago
Ryan Dahl
14414f81f3
Soft deprecation of 'listening' event.
Add callback param to listen() instead
15 years ago
Ryan Dahl
15ec99ec59
Fix issue 89, parsing responses to HEAD requests
Test from Mark Hansen (mark at markhansen.co.nz)
15 years ago
Ryan Dahl
d2e1b0855f
Move two broken tests to disabled folder
15 years ago
Ryan Dahl
93913dbdb8
Add failing test for HEAD requests
Needs to be fixed for 0.2.
15 years ago