Output stderr from test-remote-module-loading.js

There is a small problem with test-remote-module-loading.js.
When it starts a child "node", the child uses the default require.paths
instead unshifting the build lib/
This commit is contained in:
Ryan Dahl committed 2009-11-07 15:08:46 +01:00
1 parent 1020efb6f7
commit 9cfa4fd7d6
1 file changed
+3 -3
+3 -3
View File
@@ -29,10 +29,10 @@ sys
modulesLoaded++;
server.close();
})
.addErrback(function() {
assertUnreachable('node binary could not load module from url');
.addErrback(function(code, stdout, stderr) {
assertUnreachable('node binary could not load module from url: ' + stderr);
});
process.addListener('exit', function() {
assertEquals(2, modulesLoaded);
});
});