Skip to content

Commit f0cebe7

Browse files
committed
Fix test
1 parent cea5f73 commit f0cebe7

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tests/index.js

+3-3
Original file line numberDiff line numberDiff line change
@@ -956,20 +956,20 @@ t('Cursor custom n works', async() => {
956956
return ['10,10', order.join(',')]
957957
})
958958

959-
ot('Cursor custom with rest n works', async() => {
959+
t('Cursor custom with rest n works', async() => {
960960
const order = []
961961
await sql`select * from generate_series(1,20)`.cursor(11, async(x) => {
962962
order.push(x.length)
963963
})
964964
return ['11,9', order.join(',')]
965965
})
966966

967-
ot('Cursor custom with less results than batch size works', async() => {
967+
t('Cursor custom with less results than batch size works', async() => {
968968
const order = []
969969
await sql`select * from generate_series(1,20)`.cursor(21, async(x) => {
970970
order.push(x.length)
971971
})
972-
return ['11,9', order.join(',')]
972+
return ['20', p(order.join(','))]
973973
})
974974

975975
t('Cursor cancel works', async() => {

0 commit comments

Comments
 (0)