Skip to content

Commit 6b461fd

Browse files
committed
test: fix more typos
1 parent 1adbf0c commit 6b461fd

13 files changed

+21
-21
lines changed

test/es-module/test-esm-nowarn-exports.mjs

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import { execPath } from 'node:process';
55
import { describe, it } from 'node:test';
66

77

8-
describe('ESM: experiemental warning for import.meta.resolve', { concurrency: !process.env.TEST_PARALLEL }, () => {
8+
describe('ESM: experimental warning for import.meta.resolve', { concurrency: !process.env.TEST_PARALLEL }, () => {
99
it('should not warn when caught', async () => {
1010
const { code, signal, stderr } = await spawnPromisified(execPath, [
1111
'--experimental-import-meta-resolve',

test/fixtures/test426/chrome/0001-Add-source-map-specification-tests.patch

+2-2
Original file line numberDiff line numberDiff line change
@@ -2514,7 +2514,7 @@ index 0000000000..0f7a3c1cb1
25142514
+ },
25152515
+ {
25162516
+ "name": "sourceRootResolution",
2517-
+ "description": "Similar to basic mapping test, but test resoultion of sources with a sourceRoot field",
2517+
+ "description": "Similar to basic mapping test, but test resolution of sources with a sourceRoot field",
25182518
+ "baseFile": "source-root-resolution.js",
25192519
+ "sourceMapFile": "source-root-resolution.js.map",
25202520
+ "sourceMapIsValid": true,
@@ -2541,7 +2541,7 @@ index 0000000000..0f7a3c1cb1
25412541
+ },
25422542
+ {
25432543
+ "name": "sourceResolutionAbsoluteURL",
2544-
+ "description": "Test resoultion of sources with absolute URLs",
2544+
+ "description": "Test resolution of sources with absolute URLs",
25452545
+ "baseFile": "source-resolution-absolute-url.js",
25462546
+ "sourceMapFile": "source-resolution-absolute-url.js.map",
25472547
+ "sourceMapIsValid": true,

test/fixtures/test426/resources/index-map-invalid-base-mappings.js.map

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

test/fixtures/test426/source-map-spec-tests.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -678,7 +678,7 @@
678678
},
679679
{
680680
"name": "sourceRootResolution",
681-
"description": "Similar to basic mapping test, but test resoultion of sources with a sourceRoot field",
681+
"description": "Similar to basic mapping test, but test resolution of sources with a sourceRoot field",
682682
"baseFile": "source-root-resolution.js",
683683
"sourceMapFile": "source-root-resolution.js.map",
684684
"sourceMapIsValid": true,
@@ -705,7 +705,7 @@
705705
},
706706
{
707707
"name": "sourceResolutionAbsoluteURL",
708-
"description": "Test resoultion of sources with absolute URLs",
708+
"description": "Test resolution of sources with absolute URLs",
709709
"baseFile": "source-resolution-absolute-url.js",
710710
"sourceMapFile": "source-resolution-absolute-url.js.map",
711711
"sourceMapIsValid": true,

test/fixtures/test426/webkit/0001-Add-test-runner-for-the-source-map-spec-tests.patch

+4-4
Original file line numberDiff line numberDiff line change
@@ -3397,7 +3397,7 @@ index 000000000000..c5fbd4baa8b0
33973397
++ },
33983398
++ {
33993399
++ "name": "sourceRootResolution",
3400-
++ "description": "Similar to basic mapping test, but test resoultion of sources with a sourceRoot field",
3400+
++ "description": "Similar to basic mapping test, but test resolution of sources with a sourceRoot field",
34013401
++ "baseFile": "source-root-resolution.js",
34023402
++ "sourceMapFile": "source-root-resolution.js.map",
34033403
++ "sourceMapIsValid": true,
@@ -3424,7 +3424,7 @@ index 000000000000..c5fbd4baa8b0
34243424
++ },
34253425
++ {
34263426
++ "name": "sourceResolutionAbsoluteURL",
3427-
++ "description": "Test resoultion of sources with absolute URLs",
3427+
++ "description": "Test resolution of sources with absolute URLs",
34283428
++ "baseFile": "source-resolution-absolute-url.js",
34293429
++ "sourceMapFile": "source-resolution-absolute-url.js.map",
34303430
++ "sourceMapIsValid": true,
@@ -7950,7 +7950,7 @@ index 000000000000..4601502fffd6
79507950
+ },
79517951
+ {
79527952
+ "name": "sourceRootResolution",
7953-
+ "description": "Similar to basic mapping test, but test resoultion of sources with a sourceRoot field",
7953+
+ "description": "Similar to basic mapping test, but test resolution of sources with a sourceRoot field",
79547954
+ "baseFile": "source-root-resolution.js",
79557955
+ "sourceMapFile": "source-root-resolution.js.map",
79567956
+ "sourceMapIsValid": true,
@@ -7977,7 +7977,7 @@ index 000000000000..4601502fffd6
79777977
+ },
79787978
+ {
79797979
+ "name": "sourceResolutionAbsoluteURL",
7980-
+ "description": "Test resoultion of sources with absolute URLs",
7980+
+ "description": "Test resolution of sources with absolute URLs",
79817981
+ "baseFile": "source-resolution-absolute-url.js",
79827982
+ "sourceMapFile": "source-resolution-absolute-url.js.map",
79837983
+ "sourceMapIsValid": true,

test/parallel/test-config-file.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ test('should not override NODE_OPTIONS', async () => {
9494
strictEqual(result.code, 1);
9595
});
9696

97-
test('should not ovverride CLI flags', async () => {
97+
test('should not override CLI flags', async () => {
9898
const result = await spawnPromisified(process.execPath, [
9999
'--no-warnings',
100100
'--no-experimental-transform-types',

test/parallel/test-crypto-sec-level.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ if (!common.hasCrypto)
88
const assert = require('assert');
99

1010
// OpenSSL has a set of security levels which affect what algorithms
11-
// are available by default. Different OpenSSL veresions have different
11+
// are available by default. Different OpenSSL versions have different
1212
// default security levels and we use this value to adjust what a test
1313
// expects based on the security level. You can read more in
1414
// https://docs.openssl.org/1.1.1/man3/SSL_CTX_set_security_level/#default-callback-behaviour

test/parallel/test-fs-glob.mjs

+1-1
Original file line numberDiff line numberDiff line change
@@ -340,7 +340,7 @@ describe('fsPromises glob', function() {
340340

341341
const normalizeDirent = (dirent) => relative(fixtureDir, join(dirent.parentPath, dirent.name));
342342
// The call to `join()` with only one argument is important, as
343-
// it ensures that the proper path seperators are applied.
343+
// it ensures that the proper path separators are applied.
344344
const normalizePath = (path) => (isAbsolute(path) ? relative(fixtureDir, path) : join(path));
345345

346346
describe('glob - withFileTypes', function() {

test/parallel/test-net-server-blocklist.js

+3-3
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,11 @@ blockList.addAddress(common.localhostIPv4);
77

88
const server = net.createServer({ blockList }, common.mustNotCall());
99
server.listen(0, common.localhostIPv4, common.mustCall(() => {
10-
const adddress = server.address();
10+
const address = server.address();
1111
const socket = net.connect({
1212
localAddress: common.localhostIPv4,
13-
host: adddress.address,
14-
port: adddress.port
13+
host: address.address,
14+
port: address.port
1515
});
1616
socket.on('close', common.mustCall(() => {
1717
server.close();

test/parallel/test-quic-internal-endpoint-stats-state.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ describe('quic internal endpoint stats and state', { skip: !hasQuic }, () => {
122122
});
123123
});
124124

125-
it('stats are still readble after close', () => {
125+
it('stats are still readable after close', () => {
126126
const endpoint = new QuicEndpoint();
127127
strictEqual(typeof endpoint.stats.toJSON(), 'object');
128128
endpoint.stats[kFinishClose]();

test/parallel/test-timers-interval-promisified.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ process.on('multipleResolves', common.mustNotCall());
3232
const iterator = iterable[Symbol.asyncIterator]();
3333
const promise = iterator.next();
3434
promise.then(common.mustCall((result) => {
35-
assert.ok(!result.done, 'iterator was wronly marked as done');
35+
assert.ok(!result.done, 'iterator was wrongly marked as done');
3636
assert.strictEqual(result.value, 'foobar');
3737
return iterator.return();
3838
})).then(common.mustCall());
@@ -44,7 +44,7 @@ process.on('multipleResolves', common.mustNotCall());
4444
const promise = iterator.next();
4545
promise
4646
.then(common.mustCall((result) => {
47-
assert.ok(!result.done, 'iterator was wronly marked as done');
47+
assert.ok(!result.done, 'iterator was wrongly marked as done');
4848
assert.strictEqual(result.value, 'foobar');
4949
return iterator.next();
5050
}))

test/parallel/test-tls-client-mindhsize.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ if (!common.hasCrypto)
55
common.skip('missing crypto');
66

77
// OpenSSL has a set of security levels which affect what algorithms
8-
// are available by default. Different OpenSSL veresions have different
8+
// are available by default. Different OpenSSL versions have different
99
// default security levels and we use this value to adjust what a test
1010
// expects based on the security level. You can read more in
1111
// https://docs.openssl.org/1.1.1/man3/SSL_CTX_set_security_level/#default-callback-behaviour

test/parallel/test-tls-dhe.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ const {
3131
} = require('../common/crypto');
3232

3333
// OpenSSL has a set of security levels which affect what algorithms
34-
// are available by default. Different OpenSSL veresions have different
34+
// are available by default. Different OpenSSL versions have different
3535
// default security levels and we use this value to adjust what a test
3636
// expects based on the security level. You can read more in
3737
// https://docs.openssl.org/1.1.1/man3/SSL_CTX_set_security_level/#default-callback-behaviour

0 commit comments

Comments
 (0)