Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit b29b836

Browse filesBrowse files
Michal HynekMylesBorins
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 <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>
1 parent 00698cc commit b29b836
Copy full SHA for b29b836

File tree

Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed
Open diff view settings
Filter options
Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed
Open diff view settings
Collapse file

‎test/parallel/test-buffer-failed-alloc-typed-arrays.js‎

Copy file name to clipboardExpand all lines: test/parallel/test-buffer-failed-alloc-typed-arrays.js
+1-1Lines changed: 1 addition & 1 deletion
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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.