Skip to content

Commit 758a003

Browse files
RamirezAlextargos
authored andcommitted
test: fix assertion argument order in test-buffer-failed-alloc-type
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]>
1 parent d25d40e commit 758a003

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/parallel/test-buffer-failed-alloc-typed-arrays.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ for (const allocator of allocators) {
2727
// Uint32Array should still produce a zeroed out result.
2828
allocator(size);
2929
} catch {
30-
assert.deepStrictEqual(new Uint32Array(10), zeroArray);
30+
assert.deepStrictEqual(zeroArray, new Uint32Array(10));
3131
}
3232
}
3333
}

0 commit comments

Comments
 (0)