Skip to content

Commit 5e4f9b3

Browse files
silverwindMylesBorins
authored andcommitted
src,doc,test: Fix common misspellings
Backport-PR-URL: #20456 PR-URL: #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>
1 parent 0b828e5 commit 5e4f9b3

File tree

6 files changed

+8
-8
lines changed

6 files changed

+8
-8
lines changed

doc/api/stream.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -1457,7 +1457,7 @@ added: v8.0.0
14571457
argument.
14581458

14591459
The `_destroy()` method is called by [`writable.destroy()`][writable-destroy].
1460-
It can be overriden by child classes but it **must not** be called directly.
1460+
It can be overridden by child classes but it **must not** be called directly.
14611461

14621462
#### writable.\_final(callback)
14631463
<!-- YAML
@@ -1670,7 +1670,7 @@ added: v8.0.0
16701670
argument.
16711671

16721672
The `_destroy()` method is called by [`readable.destroy()`][readable-destroy].
1673-
It can be overriden by child classes but it **must not** be called directly.
1673+
It can be overridden by child classes but it **must not** be called directly.
16741674

16751675
#### readable.push(chunk[, encoding])
16761676
<!-- YAML

src/node_http2.cc

+2-2
Original file line numberDiff line numberDiff line change
@@ -832,7 +832,7 @@ inline int Http2Session::OnBeginHeadersCallback(nghttp2_session* handle,
832832
}
833833

834834
// Called by nghttp2 for each header name/value pair in a HEADERS block.
835-
// This had to have been preceeded by a call to OnBeginHeadersCallback so
835+
// This had to have been preceded by a call to OnBeginHeadersCallback so
836836
// the Http2Stream is guaranteed to already exist.
837837
inline int Http2Session::OnHeaderCallback(nghttp2_session* handle,
838838
const nghttp2_frame* frame,
@@ -2732,7 +2732,7 @@ void Http2Session::Ping(const FunctionCallbackInfo<Value>& args) {
27322732
return args.GetReturnValue().Set(false);
27332733
}
27342734

2735-
// The Ping itself is an Async resource. When the acknowledgement is recieved,
2735+
// The Ping itself is an Async resource. When the acknowledgement is received,
27362736
// the callback will be invoked and a notification sent out to JS land. The
27372737
// notification will include the duration of the ping, allowing the round
27382738
// trip to be measured.

test/async-hooks/test-callback-error.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ assert.ok(!arg);
9494
assert.strictEqual(code, null);
9595
// most posix systems will show 'SIGABRT', but alpine34 does not
9696
if (signal !== 'SIGABRT') {
97-
console.log(`parent recived signal ${signal}\nchild's stderr:`);
97+
console.log(`parent received signal ${signal}\nchild's stderr:`);
9898
console.log(stderr);
9999
process.exit(1);
100100
}

test/common/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -647,7 +647,7 @@ internet-related tests.
647647
A set of addresses for internet-related tests. All properties are configurable
648648
via `NODE_TEST_*` environment variables. For example, to configure
649649
`internet.addresses.INET_HOST`, set the environment
650-
vairable `NODE_TEST_INET_HOST` to a specified host.
650+
variable `NODE_TEST_INET_HOST` to a specified host.
651651

652652
## WPT Module
653653

test/fixtures/loop.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ console.log('A message', 5);
44
while (t > 0) {
55
if (t++ === 1000) {
66
t = 0;
7-
console.log(`Outputed message #${k++}`);
7+
console.log(`Outputted message #${k++}`);
88
}
99
}
1010
process.exit(55);

test/sequential/test-inspector-async-hook-setup-at-signal.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ function waitUntilDebugged() {
1717
// call stack depth is 0. We need a chance to call
1818
// Debugger.setAsyncCallStackDepth *before* activating the actual timer for
1919
// async stack traces to work. Directly using a debugger statement would be
20-
// too brittle, and using a longer timeout would unnecesarily slow down the
20+
// too brittle, and using a longer timeout would unnecessarily slow down the
2121
// test on most machines. Triggering a debugger break through an interval is
2222
// a faster and more reliable way.
2323
process._rawDebug('Signal received, waiting for debugger setup');

0 commit comments

Comments
 (0)