Skip to content

Commit 21b9ce0

Browse files
committed
replace test comment with ref
1 parent 510ab5d commit 21b9ce0

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

test/parallel/test-buffer-copy.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -236,8 +236,7 @@ assert.deepStrictEqual(c, b.slice(0, c.length));
236236
assert.deepStrictEqual(c.toString(), 'C'.repeat(c.length));
237237
}
238238

239-
240-
// Test its possible to copy buffer with length > 2^32
239+
// Ref: https://github.com/nodejs/node/issues/55422#issue-2594486812
241240
if (2 ** 32 + 1 <= kMaxLength) {
242241
const src = Buffer.alloc(2 ** 32 + 1, 1);
243242
const dst = Buffer.alloc(2 ** 32 + 1, 2);

0 commit comments

Comments
 (0)