diff options
author | Roman Reiss <me@silverwind.io> | 2017-06-16 17:49:20 +0200 |
---|---|---|
committer | Roman Reiss <me@silverwind.io> | 2017-06-17 19:17:46 +0200 |
commit | ecf6a46d98a5d73fb9f98f10a634c786b60aea09 (patch) | |
tree | 1817ee54c89ca9972f1d92feda21bddd3431fd8e /test/async-hooks | |
parent | 7bdb5ca6207dbfc2ef9b253dd68588c3cf8b1cff (diff) | |
download | android-node-v8-ecf6a46d98a5d73fb9f98f10a634c786b60aea09.tar.gz android-node-v8-ecf6a46d98a5d73fb9f98f10a634c786b60aea09.tar.bz2 android-node-v8-ecf6a46d98a5d73fb9f98f10a634c786b60aea09.zip |
src,lib,test,doc: correct misspellings
PR-URL: https://github.com/nodejs/node/pull/13719
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Gibson Fahnestock <gibfahn@gmail.com>
Diffstat (limited to 'test/async-hooks')
-rw-r--r-- | test/async-hooks/test-promise.js | 2 | ||||
-rw-r--r-- | test/async-hooks/test-promise.promise-before-init-hooks.js | 2 | ||||
-rw-r--r-- | test/async-hooks/test-udpsendwrap.js | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/test/async-hooks/test-promise.js b/test/async-hooks/test-promise.js index 7d8e3919f2..f7dbe64b89 100644 --- a/test/async-hooks/test-promise.js +++ b/test/async-hooks/test-promise.js @@ -47,6 +47,6 @@ function onexit() { assert.strictEqual(a1.type, 'PROMISE'); assert.strictEqual(typeof a1.uid, 'number'); assert.strictEqual(a1.triggerAsyncId, a0.uid); - // We expect a destroy hook as well but we cannot guarentee predictable gc. + // We expect a destroy hook as well but we cannot guarantee predictable gc. checkInvocations(a1, { init: 1, before: 1, after: 1 }, 'when process exits'); } diff --git a/test/async-hooks/test-promise.promise-before-init-hooks.js b/test/async-hooks/test-promise.promise-before-init-hooks.js index 9a542dff46..27536b727d 100644 --- a/test/async-hooks/test-promise.promise-before-init-hooks.js +++ b/test/async-hooks/test-promise.promise-before-init-hooks.js @@ -37,6 +37,6 @@ process.on('exit', function onexit() { // immediately before the child promise, thus there should only be one // difference in id. assert.strictEqual(a0.triggerAsyncId, a0.uid - 1); - // We expect a destroy hook as well but we cannot guarentee predictable gc. + // We expect a destroy hook as well but we cannot guarantee predictable gc. checkInvocations(a0, { init: 1, before: 1, after: 1 }, 'when process exits'); }); diff --git a/test/async-hooks/test-udpsendwrap.js b/test/async-hooks/test-udpsendwrap.js index 750fafdeb2..10deaca845 100644 --- a/test/async-hooks/test-udpsendwrap.js +++ b/test/async-hooks/test-udpsendwrap.js @@ -21,7 +21,7 @@ function onlistening() { new Buffer(2), 0, 2, sock.address().port, undefined, common.mustCall(onsent)); - // init not called synchronously because dns lookup alwasy wraps + // init not called synchronously because dns lookup always wraps // callback in a next tick even if no lookup is needed // TODO (trevnorris) submit patch to fix creation of tick objects and instead // create the send wrap synchronously. |