diff options
author | Oscar Funes <osukaa18@gmail.com> | 2017-10-06 20:25:26 +0300 |
---|---|---|
committer | Myles Borins <mylesborins@google.com> | 2017-10-24 00:17:31 +0300 |
commit | 2b46049e1671ee4fa41fbf0aafa31011bd51da59 (patch) | |
tree | 4ca8b5df0c49d13ad96cfd202961508b6cd45ca9 /test | |
parent | acba6d0cb0d2d24c6fd62059caacee414b09200e (diff) |
test: fix typo
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>
Diffstat (limited to 'test')
-rw-r--r-- | test/parallel/test-child-process-silent.js | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/test/parallel/test-child-process-silent.js b/test/parallel/test-child-process-silent.js index b280e101810..7edc9d232fb 100644 --- a/test/parallel/test-child-process-silent.js +++ b/test/parallel/test-child-process-silent.js @@ -74,17 +74,17 @@ if (process.argv[2] === 'pipe') { child.stdout.pipe(process.stdout, { end: false }); let childSending = false; - let childReciveing = false; + let childReceiving = false; child.on('message', function(message) { if (childSending === false) { childSending = (message === 'message from child'); } - if (childReciveing === false) { - childReciveing = (message === 'got message from master'); + if (childReceiving === false) { + childReceiving = (message === 'got message from master'); } - if (childReciveing === true) { + if (childReceiving === true) { child.kill(); } }); @@ -102,6 +102,6 @@ if (process.argv[2] === 'pipe') { // Check message system assert.ok(childSending, 'The child was able to send a message'); - assert.ok(childReciveing, 'The child was able to receive a message'); + assert.ok(childReceiving, 'The child was able to receive a message'); }); } |