mirror of
https://github.com/nodejs/node.git
synced 2026-11-21 12:59:16 -05:00
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:
1 parent
1020efb6f7
commit
9cfa4fd7d6
1 file changed
+3
-3
@@ -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);
|
||||
});
|
||||
});
|
||||
Reference in new issue
Block a user