Skip to content
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
test: removed unused variable
Removed an unused variable in test-buffer-failed-alloc-typed-arrays.js.
  • Loading branch information
Michal Hynek authored and Trott committed Oct 14, 2018
commit 60c040752c058b1dc533a5465406ad6b441678c1
2 changes: 1 addition & 1 deletion test/parallel/test-buffer-failed-alloc-typed-arrays.js
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
}
Expand Down