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 <[email protected]>
Reviewed-By: Anna Henningsen <[email protected]>
Reviewed-By: Colin Ihrig <[email protected]>
Reviewed-By: Gireesh Punathil <[email protected]>
Reviewed-By: Michaël Zasso <[email protected]>
Reviewed-By: Ruben Bridgewater <[email protected]>
Reviewed-By: Trivikram Kamat <[email protected]>
Reviewed-By: James M Snell <[email protected]>
  • 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
Original file line number Diff line number Diff line change
Expand Up @@ -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.