summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorRoman Reiss <me@silverwind.io>2018-01-14 22:08:46 +0100
committerRoman Reiss <me@silverwind.io>2018-01-16 23:44:27 +0100
commit82b07835193f4a02431cc12bf9bc0ef4eb3847e5 (patch)
tree8f8930fe575dd4e5de4aeafd61aa95bce97c711a /test
parent1312db56510028a916e399b81cee754742430ec9 (diff)
downloadandroid-node-v8-82b07835193f4a02431cc12bf9bc0ef4eb3847e5.tar.gz
android-node-v8-82b07835193f4a02431cc12bf9bc0ef4eb3847e5.tar.bz2
android-node-v8-82b07835193f4a02431cc12bf9bc0ef4eb3847e5.zip
src,doc,test: Fix common misspellings
PR-URL: https://github.com/nodejs/node/pull/18151 Reviewed-By: Anatoli Papirovski <apapirovski@mac.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Tobias Nießen <tniessen@tnie.de> Reviewed-By: Richard Lau <riclau@uk.ibm.com> Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com> Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
Diffstat (limited to 'test')
-rw-r--r--test/async-hooks/test-callback-error.js2
-rw-r--r--test/common/README.md2
-rw-r--r--test/fixtures/loop.js2
-rw-r--r--test/sequential/test-inspector-async-hook-setup-at-signal.js2
4 files changed, 4 insertions, 4 deletions
diff --git a/test/async-hooks/test-callback-error.js b/test/async-hooks/test-callback-error.js
index c45856f60d..450f34bee1 100644
--- a/test/async-hooks/test-callback-error.js
+++ b/test/async-hooks/test-callback-error.js
@@ -94,7 +94,7 @@ assert.ok(!arg);
assert.strictEqual(code, null);
// most posix systems will show 'SIGABRT', but alpine34 does not
if (signal !== 'SIGABRT') {
- console.log(`parent recived signal ${signal}\nchild's stderr:`);
+ console.log(`parent received signal ${signal}\nchild's stderr:`);
console.log(stderr);
process.exit(1);
}
diff --git a/test/common/README.md b/test/common/README.md
index b3852dc2d6..b50d8ca88e 100644
--- a/test/common/README.md
+++ b/test/common/README.md
@@ -652,7 +652,7 @@ internet-related tests.
A set of addresses for internet-related tests. All properties are configurable
via `NODE_TEST_*` environment variables. For example, to configure
`internet.addresses.INET_HOST`, set the environment
-vairable `NODE_TEST_INET_HOST` to a specified host.
+variable `NODE_TEST_INET_HOST` to a specified host.
## WPT Module
diff --git a/test/fixtures/loop.js b/test/fixtures/loop.js
index 461fb39358..1f093bdf57 100644
--- a/test/fixtures/loop.js
+++ b/test/fixtures/loop.js
@@ -4,7 +4,7 @@ console.log('A message', 5);
while (t > 0) {
if (t++ === 1000) {
t = 0;
- console.log(`Outputed message #${k++}`);
+ console.log(`Outputted message #${k++}`);
}
}
process.exit(55);
diff --git a/test/sequential/test-inspector-async-hook-setup-at-signal.js b/test/sequential/test-inspector-async-hook-setup-at-signal.js
index 96e8b28a7a..5ff7dec947 100644
--- a/test/sequential/test-inspector-async-hook-setup-at-signal.js
+++ b/test/sequential/test-inspector-async-hook-setup-at-signal.js
@@ -17,7 +17,7 @@ function waitUntilDebugged() {
// call stack depth is 0. We need a chance to call
// Debugger.setAsyncCallStackDepth *before* activating the actual timer for
// async stack traces to work. Directly using a debugger statement would be
- // too brittle, and using a longer timeout would unnecesarily slow down the
+ // too brittle, and using a longer timeout would unnecessarily slow down the
// test on most machines. Triggering a debugger break through an interval is
// a faster and more reliable way.
process._rawDebug('Signal received, waiting for debugger setup');