From 736b575b7e4c6ab8dcc68a268b074e01b26179c0 Mon Sep 17 00:00:00 2001 From: Rich Trott Date: Wed, 2 Dec 2020 23:07:24 -0800 Subject: [PATCH] test: fix comment misspellings of transferred PR-URL: https://github.com/nodejs/node/pull/36360 Reviewed-By: Daniel Bevenius Reviewed-By: Zeyu Yang Reviewed-By: Antoine du Hamel Reviewed-By: Daijiro Wachi Reviewed-By: Richard Lau --- test/addons/worker-buffer-callback/test.js | 2 +- test/parallel/test-buffer-pool-untransferable.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/test/addons/worker-buffer-callback/test.js b/test/addons/worker-buffer-callback/test.js index b04984f1576432..08625b72384eb1 100644 --- a/test/addons/worker-buffer-callback/test.js +++ b/test/addons/worker-buffer-callback/test.js @@ -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; diff --git a/test/parallel/test-buffer-pool-untransferable.js b/test/parallel/test-buffer-pool-untransferable.js index 96e109c113fee8..d39b03435fa5b7 100644 --- a/test/parallel/test-buffer-pool-untransferable.js +++ b/test/parallel/test-buffer-pool-untransferable.js @@ -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);