Skip to content

Commit 4cfb494

Browse files
authored
test reduce
1 parent 37f3bf4 commit 4cfb494

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

test/parallel/test-sqlite-data-types.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,6 @@ suite('data binding and mapping', () => {
8282
});
8383

8484
const nulls = { int: null, double: null, text: null, buf: null };
85-
const undefArray = [ undefined, undefined, undefined, undefined ];
8685
const undefObj = {
8786
int: undefined,
8887
double: undefined,
@@ -94,7 +93,7 @@ suite('data binding and mapping', () => {
9493
'INSERT INTO types VALUES ($key, $int, $double, $text, $buf)'
9594
);
9695
t.assert.deepStrictEqual(
97-
insertAnon.run(6, ...undefArray),
96+
insertAnon.run(6, undefined, undefined, undefined, undefined),
9897
{ lastInsertRowid: 6, changes: 1 },
9998
);
10099
t.assert.deepStrictEqual(

0 commit comments

Comments
 (0)