Skip to content

Commit 9901772

Browse files
sonsurimpull[bot]
authored andcommitted
test: fix typo in test
PR-URL: #54137 Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: Harshitha K P <[email protected]> Reviewed-By: Jake Yuesong Li <[email protected]>
1 parent cb4a750 commit 9901772

File tree

4 files changed

+7
-7
lines changed

4 files changed

+7
-7
lines changed

test/async-hooks/verify-graph.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -125,9 +125,9 @@ module.exports.printGraph = function printGraph(hooks) {
125125
const uidtoid = {};
126126
const activities = pruneTickObjects(hooks.activities);
127127
const graph = [];
128-
activities.forEach(procesNode);
128+
activities.forEach(processNode);
129129

130-
function procesNode(x) {
130+
function processNode(x) {
131131
const key = x.type.replace(/WRAP/, '').toLowerCase();
132132
if (!ids[key]) ids[key] = 1;
133133
const id = `${key}:${ids[key]++}`;

test/parallel/test-diagnostics-channel-net.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ function testDiagnosticChannel(subscribers, test, after) {
1616
}));
1717
}
1818

19-
const testSuccessfullListen = common.mustCall(() => {
19+
const testSuccessfulListen = common.mustCall(() => {
2020
let cb;
2121
const server = net.createServer(common.mustCall((socket) => {
2222
socket.destroy();
@@ -88,4 +88,4 @@ const testFailingListen = common.mustCall(() => {
8888
});
8989
});
9090

91-
testSuccessfullListen();
91+
testSuccessfulListen();

test/parallel/test-tls-set-sigalgs.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ test('RSA-PSS+SHA256:RSA-PSS+SHA512:ECDSA+SHA256',
6868

6969
// Do not have shared sigalgs.
7070
test('RSA-PSS+SHA384', 'ECDSA+SHA256',
71-
undefined, 'ECONNRESET', 'ERR_SSL_NO_SHARED_SIGNATURE_ALGORITMS');
71+
undefined, 'ECONNRESET', 'ERR_SSL_NO_SHARED_SIGNATURE_ALGORITHMS');
7272

7373
test('RSA-PSS+SHA384:ECDSA+SHA256', 'ECDSA+SHA384:RSA-PSS+SHA256',
74-
undefined, 'ECONNRESET', 'ERR_SSL_NO_SHARED_SIGNATURE_ALGORITMS');
74+
undefined, 'ECONNRESET', 'ERR_SSL_NO_SHARED_SIGNATURE_ALGORITHMS');

test/parallel/test-worker-workerdata-messageport.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ const {
88
} = require('node:worker_threads');
99

1010
const channel = new MessageChannel();
11-
const workerData = { mesage: channel.port1 };
11+
const workerData = { message: channel.port1 };
1212
const transferList = [channel.port1];
1313
const meowScript = () => 'meow';
1414

0 commit comments

Comments
 (0)