Ben Noordhuis
aad2013508
repl: allow overriding builtins
Don't give names of built-in libraries special treatment.
Changes the REPL's behavior from this:
> var path = 42
> path
A different "path" already exists globally
To this:
> var path = 42
> path
42
Fixes #4512 .
12 years ago
isaacs
79fd9620f5
test: Fix test-repl-autolibs inspect call
12 years ago
Nathan Rajlich
8652c11031
test: make the ArrayStream in repl tests write a '\n'
This is more correct.
Fixes them from failing with the updated readline behavior.
13 years ago
Nathan Rajlich
8752ceef13
test: make repl-autolibs check that the callback was invoked
13 years ago
Brandon Benvie
b72277183f
repl: add automatic loading of built-in libs
13 years ago
Ben Noordhuis
018e110cd1
test: replace .addListener() calls with .on()
13 years ago
Colton Baker
87286cc737
Fixed a lot of jslint errors.
Fixes #1831
13 years ago
koichik
8293bb8a32
test: refactored http test.
Many http tests had used legacy http.Client.
This refactored it to use modern API.
Fixes #1528 .
14 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