test: fix stderr reference

PR-URL: https://github.com/nodejs/node/pull/15938
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
This commit is contained in:
Oscar Funes 2017-10-06 10:25:41 -07:00 committed by Ruben Bridgewater
parent f720b82e39
commit bd74fb4cee
No known key found for this signature in database
GPG Key ID: F07496B3EB3C1762

View File

@ -62,7 +62,7 @@ if (process.argv[2] === 'pipe') {
stdoutData = true;
});
let stderrData = false;
parent.stdout.on('data', function() {
parent.stderr.on('data', function() {
stderrData = true;
});