Skip to content

Commit 7f4120b

Browse files
committed
test: fix assertion argument order in test-buffer-failed-alloc-type
1 parent e6edd66 commit 7f4120b

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

Lines changed: 1 addition & 1 deletion
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)