We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b392a94 commit dcde72fCopy full SHA for dcde72f
test/parallel/test-dgram-send-bad-arguments.js
@@ -84,9 +84,9 @@ function checkArgs(connected) {
84
Buffer.from('hello world').subarray(4, 9),
85
Buffer.from('hello world').subarray(6),
86
new Uint8Array([1, 2, 3, 4, 5]),
87
- new Uint8Array([1, 2, 3, 4, 5, 6, 7, 8]).slice(0, 5),
88
- new Uint8Array([1, 2, 3, 4, 5, 6, 7, 8]).slice(2, 7),
89
- new Uint8Array([1, 2, 3, 4, 5, 6, 7, 8]).slice(3),
+ new Uint8Array([1, 2, 3, 4, 5, 6, 7, 8]).subarray(0, 5),
+ new Uint8Array([1, 2, 3, 4, 5, 6, 7, 8]).subarray(2, 7),
+ new Uint8Array([1, 2, 3, 4, 5, 6, 7, 8]).subarray(3),
90
new DataView(new ArrayBuffer(5), 0),
91
new DataView(new ArrayBuffer(6), 1),
92
new DataView(new ArrayBuffer(7), 1, 5)]) {
0 commit comments