Skip to content

Commit 42cccb1

Browse files
committed
Remove deprecated sql.array usage
1 parent 87e681a commit 42cccb1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/index.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -483,7 +483,7 @@ t('Point type array', async() => {
483483
})
484484

485485
await sql`create table test (x point[])`
486-
await sql`insert into test (x) values (${ sql.array([sql.types.point([10, 20]), sql.types.point([20, 30])]) })`
486+
await sql`insert into test (x) values (${ [sql.types.point([10, 20]), sql.types.point([20, 30])] })`
487487
return [30, (await sql`select x from test`)[0].x[1][1], await sql`drop table test`]
488488
})
489489

0 commit comments

Comments
 (0)