mirror of
https://github.com/nodejs/node.git
synced 2026-11-21 12:59:16 -05:00
test: fix assertion argument order in test-buffer-failed-alloc-type
PR-URL: https://github.com/nodejs/node/pull/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>
This commit is contained in:
1 parent
6f5b5d1c4b
commit
ad8456ba43
1 file changed
+1
-1
@@ -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));
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user