mirror of
https://github.com/nodejs/node.git
synced 2026-11-21 12:59:16 -05:00
test: removed unused variable
Removed an unused variable in test-buffer-failed-alloc-typed-arrays.js. PR-URL: https://github.com/nodejs/node/pull/23481 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
This commit is contained in:
1 parent
5799f41c93
commit
fd230c131d
1 file changed
+1
-1
@@ -26,7 +26,7 @@ for (const allocator of allocators) {
|
||||
// These allocations are known to fail. If they do,
|
||||
// Uint32Array should still produce a zeroed out result.
|
||||
allocator(size);
|
||||
} catch (e) {
|
||||
} catch {
|
||||
assert.deepStrictEqual(new Uint32Array(10), zeroArray);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user