test: udpate test comment description
test-buffer-failed-alloc-typed-arrays.js is working fine, but the description was not correct. PR-URL: https://github.com/nodejs/node/pull/28351 Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Yongsheng Zhang <zyszys98@gmail.com> Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Jiawen Geng <technicalcute@gmail.com>
This commit is contained in:
parent
9cda6f28c8
commit
3d56e89c8a
@ -23,7 +23,7 @@ const allocators = [
|
||||
for (const allocator of allocators) {
|
||||
for (const size of sizes) {
|
||||
try {
|
||||
// These allocations are known to fail. If they do,
|
||||
// Some of these allocations are known to fail. If they do,
|
||||
// Uint32Array should still produce a zeroed out result.
|
||||
allocator(size);
|
||||
} catch {
|
||||
|
Loading…
x
Reference in New Issue
Block a user