GeezerVison is showing github.com — test: fix typo in test · nodejs/node@dbc26c2
File tree
Expand file treeCollapse file tree
Open diff view settings
Expand file treeCollapse file tree
Open diff view settings
Collapse file
Copy file name to clipboardExpand all lines: test/async-hooks/verify-graph.js +2-2Lines changed: 2 additions & 2 deletions | Original file line number | Diff line number | Diff line change |
|---|
@@ -125,9 +125,9 @@ module.exports.printGraph = function printGraph(hooks) { |
125 | 125 | const uidtoid = {}; |
126 | 126 | const activities = pruneTickObjects(hooks.activities); |
127 | 127 | const graph = []; |
128 | | - activities.forEach(procesNode); |
| 128 | + activities.forEach(processNode); |
129 | 129 |
|
130 | | - function procesNode(x) { |
| 130 | + function processNode(x) { |
131 | 131 | const key = x.type.replace(/WRAP/, '').toLowerCase(); |
132 | 132 | if (!ids[key]) ids[key] = 1; |
133 | 133 | const id = `${key}:${ids[key]++}`; |
|
Collapse file
Copy file name to clipboardExpand all lines: test/parallel/test-diagnostics-channel-net.js +2-2Lines changed: 2 additions & 2 deletions | Original file line number | Diff line number | Diff line change |
|---|
@@ -16,7 +16,7 @@ function testDiagnosticChannel(subscribers, test, after) { |
16 | 16 | })); |
17 | 17 | } |
18 | 18 |
|
19 | | -const testSuccessfullListen = common.mustCall(() => { |
| 19 | +const testSuccessfulListen = common.mustCall(() => { |
20 | 20 | let cb; |
21 | 21 | const server = net.createServer(common.mustCall((socket) => { |
22 | 22 | socket.destroy(); |
@@ -88,4 +88,4 @@ const testFailingListen = common.mustCall(() => { |
88 | 88 | }); |
89 | 89 | }); |
90 | 90 |
|
91 | | -testSuccessfullListen(); |
| 91 | +testSuccessfulListen(); |
Collapse file
Copy file name to clipboardExpand all lines: test/parallel/test-tls-set-sigalgs.js +2-2Lines changed: 2 additions & 2 deletions | Original file line number | Diff line number | Diff line change |
|---|
@@ -68,7 +68,7 @@ test('RSA-PSS+SHA256:RSA-PSS+SHA512:ECDSA+SHA256', |
68 | 68 |
|
69 | 69 | // Do not have shared sigalgs. |
70 | 70 | test('RSA-PSS+SHA384', 'ECDSA+SHA256', |
71 | | - undefined, 'ECONNRESET', 'ERR_SSL_NO_SHARED_SIGNATURE_ALGORITMS'); |
| 71 | + undefined, 'ECONNRESET', 'ERR_SSL_NO_SHARED_SIGNATURE_ALGORITHMS'); |
72 | 72 |
|
73 | 73 | 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'); |
Collapse file
Copy file name to clipboardExpand all lines: test/parallel/test-worker-workerdata-messageport.js +1-1Lines changed: 1 addition & 1 deletion | Original file line number | Diff line number | Diff line change |
|---|
|
8 | 8 | } = require('node:worker_threads'); |
9 | 9 |
|
10 | 10 | const channel = new MessageChannel(); |
11 | | -const workerData = { mesage: channel.port1 }; |
| 11 | +const workerData = { message: channel.port1 }; |
12 | 12 | const transferList = [channel.port1]; |
13 | 13 | const meowScript = () => 'meow'; |
14 | 14 |
|
|