summaryrefslogtreecommitdiff
path: root/test/simple/test-child-process-ipc.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/simple/test-child-process-ipc.js')
-rw-r--r--test/simple/test-child-process-ipc.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/simple/test-child-process-ipc.js b/test/simple/test-child-process-ipc.js
index 3b9881262e..f1482767ba 100644
--- a/test/simple/test-child-process-ipc.js
+++ b/test/simple/test-child-process-ipc.js
@@ -12,13 +12,13 @@ var gotEcho = false;
var child = spawn(process.argv[0], [sub]);
child.stderr.addListener("data", function (data){
- puts("parent stderr: " + data);
+ console.log("parent stderr: " + data);
});
child.stdout.setEncoding('utf8');
child.stdout.addListener("data", function (data){
- puts('child said: ' + JSON.stringify(data));
+ console.log('child said: ' + JSON.stringify(data));
if (!gotHelloWorld) {
assert.equal("hello world\r\n", data);
gotHelloWorld = true;
@@ -31,7 +31,7 @@ child.stdout.addListener("data", function (data){
});
child.stdout.addListener("end", function (data){
- puts('child end');
+ console.log('child end');
});