Skip to content
Permalink
Browse files

test: fix assertion argument order in test-buffer-failed-alloc-type

PR-URL: #28349
Reviewed-By: Rich Trott <rtrott@gmail.com>
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
Reviewed-By: Michaël Zasso <targos@protonmail.com>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
  • Loading branch information...
RamirezAlex authored and targos committed Jun 21, 2019
1 parent d25d40e commit 758a003f9d6e7791dbea5d3bc0e94b7555e284f5
Showing with 1 addition and 1 deletion.
  1. +1 −1 test/parallel/test-buffer-failed-alloc-typed-arrays.js
@@ -27,7 +27,7 @@ for (const allocator of allocators) {
// Uint32Array should still produce a zeroed out result.
allocator(size);
} catch {
assert.deepStrictEqual(new Uint32Array(10), zeroArray);
assert.deepStrictEqual(zeroArray, new Uint32Array(10));
}
}
}

0 comments on commit 758a003

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