Skip to content

Commit d70a0cd

Browse files
Michal Hynekjasnell
Michal Hynek
authored andcommitted
test: removed unused variable
Removed an unused variable in test-buffer-failed-alloc-typed-arrays.js. PR-URL: #23481 Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Gireesh Punathil <[email protected]> Reviewed-By: James M Snell <[email protected]> Reviewed-By: Trivikram Kamat <[email protected]>
1 parent 313b44b commit d70a0cd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: test/parallel/test-buffer-failed-alloc-typed-arrays.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ for (const allocator of allocators) {
2626
// These allocations are known to fail. If they do,
2727
// Uint32Array should still produce a zeroed out result.
2828
allocator(size);
29-
} catch (e) {
29+
} catch {
3030
assert.deepStrictEqual(new Uint32Array(10), zeroArray);
3131
}
3232
}

0 commit comments

Comments
 (0)