Skip to content

Commit

Permalink
test: fix comment misspellings of transferred
Browse files Browse the repository at this point in the history
PR-URL: #36360
Reviewed-By: Daniel Bevenius <[email protected]>
Reviewed-By: Zeyu Yang <[email protected]>
Reviewed-By: Antoine du Hamel <[email protected]>
Reviewed-By: Daijiro Wachi <[email protected]>
Reviewed-By: Richard Lau <[email protected]>
  • Loading branch information
Trott authored and danielleadams committed Dec 7, 2020
1 parent a7e794d commit b39d150
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion test/addons/worker-buffer-callback/test.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ const { MessageChannel } = require('worker_threads');
const { buffer } = require(`./build/${common.buildType}/binding`);

// Test that buffers allocated with a free callback through our APIs are not
// transfered.
// transferred.

const { port1 } = new MessageChannel();
const origByteLength = buffer.byteLength;
Expand Down
2 changes: 1 addition & 1 deletion test/parallel/test-buffer-pool-untransferable.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,6 @@ const length = a.length;
const { port1 } = new MessageChannel();
port1.postMessage(a, [ a.buffer ]);

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

0 comments on commit b39d150

Please sign in to comment.