From aa269ad59b77cb6e8ca4e682c0bcdd8b4656359e Mon Sep 17 00:00:00 2001 From: Oscar Funes Date: Fri, 6 Oct 2017 10:25:41 -0700 Subject: [PATCH] test: fix stderr reference PR-URL: https://github.com/nodejs/node/pull/15938 Reviewed-By: Colin Ihrig Reviewed-By: Luigi Pinca Reviewed-By: Ruben Bridgewater --- test/parallel/test-child-process-silent.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/parallel/test-child-process-silent.js b/test/parallel/test-child-process-silent.js index 562b34ad823e17..387164381bc4a1 100644 --- a/test/parallel/test-child-process-silent.js +++ b/test/parallel/test-child-process-silent.js @@ -41,7 +41,7 @@ if (process.argv[2] === 'pipe') { stdoutData = true; }); let stderrData = false; - parent.stdout.on('data', function() { + parent.stderr.on('data', function() { stderrData = true; });