Skip to content

Commit b39d150

Browse files
Trottdanielleadams
authored andcommitted
test: fix comment misspellings of transferred
PR-URL: #36360 Reviewed-By: Daniel Bevenius <daniel.bevenius@gmail.com> Reviewed-By: Zeyu Yang <himself65@outlook.com> Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com> Reviewed-By: Daijiro Wachi <daijiro.wachi@gmail.com> Reviewed-By: Richard Lau <rlau@redhat.com>
1 parent a7e794d commit b39d150

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

test/addons/worker-buffer-callback/test.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ const { MessageChannel } = require('worker_threads');
55
const { buffer } = require(`./build/${common.buildType}/binding`);
66

77
// Test that buffers allocated with a free callback through our APIs are not
8-
// transfered.
8+
// transferred.
99

1010
const { port1 } = new MessageChannel();
1111
const origByteLength = buffer.byteLength;

test/parallel/test-buffer-pool-untransferable.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,6 @@ const length = a.length;
1515
const { port1 } = new MessageChannel();
1616
port1.postMessage(a, [ a.buffer ]);
1717

18-
// Verify that the pool ArrayBuffer has not actually been transfered:
18+
// Verify that the pool ArrayBuffer has not actually been transferred:
1919
assert.strictEqual(a.buffer, b.buffer);
2020
assert.strictEqual(a.length, length);

0 commit comments

Comments
 (0)