File tree 2 files changed +2
-2
lines changed
addons/worker-buffer-callback
2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ const { MessageChannel } = require('worker_threads');
5
5
const { buffer } = require ( `./build/${ common . buildType } /binding` ) ;
6
6
7
7
// Test that buffers allocated with a free callback through our APIs are not
8
- // transfered .
8
+ // transferred .
9
9
10
10
const { port1 } = new MessageChannel ( ) ;
11
11
const origByteLength = buffer . byteLength ;
Original file line number Diff line number Diff line change @@ -15,6 +15,6 @@ const length = a.length;
15
15
const { port1 } = new MessageChannel ( ) ;
16
16
port1 . postMessage ( a , [ a . buffer ] ) ;
17
17
18
- // Verify that the pool ArrayBuffer has not actually been transfered :
18
+ // Verify that the pool ArrayBuffer has not actually been transferred :
19
19
assert . strictEqual ( a . buffer , b . buffer ) ;
20
20
assert . strictEqual ( a . length , length ) ;
You can’t perform that action at this time.
0 commit comments