Skip to content
Permalink
Browse files

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>
  • Loading branch information...
michal-hynek authored and MylesBorins committed Oct 12, 2018
1 parent f219f82 commit b6b3dde360ca12097e3e22029d01dea6fd493e6c
Showing with 1 addition and 1 deletion.
  1. +1 −1 test/parallel/test-buffer-failed-alloc-typed-arrays.js
@@ -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);
}
}

0 comments on commit b6b3dde

Please sign in to comment.
You can’t perform that action at this time.