Skip to content

Commit

Permalink
test: removed unused variable
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Michal Hynek authored and MylesBorins committed Nov 29, 2018
1 parent f219f82 commit b6b3dde
Showing 1 changed file with 1 addition and 1 deletion.
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

0 comments on commit b6b3dde

Please sign in to comment.