summaryrefslogtreecommitdiff
path: root/test/parallel/test-child-process-send-returns-boolean.js
diff options
context:
space:
mode:
authorTobias Nießen <tniessen@tnie.de>2018-01-06 19:34:27 +0100
committerTobias Nießen <tniessen@tnie.de>2018-01-11 16:49:38 +0100
commite890344d18fdc4ad096d2c5020a7101bc355ad8b (patch)
tree86c753dc24aa19f6dfc9cb31d22160e7aa6207a1 /test/parallel/test-child-process-send-returns-boolean.js
parent61b4d60c5d9694e79069b1680b3736c96a5de501 (diff)
downloadandroid-node-v8-e890344d18fdc4ad096d2c5020a7101bc355ad8b.tar.gz
android-node-v8-e890344d18fdc4ad096d2c5020a7101bc355ad8b.tar.bz2
android-node-v8-e890344d18fdc4ad096d2c5020a7101bc355ad8b.zip
test: fix spelling in test case comments
PR-URL: https://github.com/nodejs/node/pull/18018 Reviewed-By: Jon Moss <me@jonathanmoss.me> Reviewed-By: Anatoli Papirovski <apapirovski@mac.com> Reviewed-By: Weijia Wang <starkwang@126.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Yuta Hiroto <hello@about-hiroppy.com>
Diffstat (limited to 'test/parallel/test-child-process-send-returns-boolean.js')
-rw-r--r--test/parallel/test-child-process-send-returns-boolean.js8
1 files changed, 4 insertions, 4 deletions
diff --git a/test/parallel/test-child-process-send-returns-boolean.js b/test/parallel/test-child-process-send-returns-boolean.js
index 2fbba1a454..4c986e307e 100644
--- a/test/parallel/test-child-process-send-returns-boolean.js
+++ b/test/parallel/test-child-process-send-returns-boolean.js
@@ -14,7 +14,7 @@ const fixtures = require('../common/fixtures');
const subScript = fixtures.path('child-process-persistent.js');
{
- // Test `send` return value on `fork` that opens and IPC by deafult.
+ // Test `send` return value on `fork` that opens and IPC by default.
const n = fork(subScript);
// `subprocess.send` should always return `true` for the first send.
const rv = n.send({ h: 'w' }, (err) => { if (err) assert.fail(err); });
@@ -31,12 +31,12 @@ const subScript = fixtures.path('child-process-persistent.js');
const server = net.createServer(common.mustNotCall()).listen(0, () => {
const handle = server._handle;
- // Sending a handle and not giving the tickQueue time to acknoladge should
+ // Sending a handle and not giving the tickQueue time to acknowledge should
// create the internal backlog, but leave it empty.
const rv1 = s.send('one', handle, (err) => { if (err) assert.fail(err); });
assert.strictEqual(rv1, true);
- // Since the first `send` included a handle (should be unackoladged),
- // we can safly queue up only one more message.
+ // Since the first `send` included a handle (should be unacknowledged),
+ // we can safely queue up only one more message.
const rv2 = s.send('two', (err) => { if (err) assert.fail(err); });
assert.strictEqual(rv2, true);
// The backlog should now be indicate to backoff.