Skip to content

Commit

Permalink
test: fix assertion argument order in test-buffer-failed-alloc-type
Browse files Browse the repository at this point in the history
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 Jul 2, 2019
1 parent d25d40e commit 758a003
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
Expand Up @@ -27,7 +27,7 @@ for (const allocator of allocators) {
// Uint32Array should still produce a zeroed out result. // Uint32Array should still produce a zeroed out result.
allocator(size); allocator(size);
} catch { } catch {
assert.deepStrictEqual(new Uint32Array(10), zeroArray); assert.deepStrictEqual(zeroArray, new Uint32Array(10));
} }
} }
} }

0 comments on commit 758a003

Please sign in to comment.