File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff 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
975975t ( 'Cursor cancel works' , async ( ) => {
You can’t perform that action at this time.
0 commit comments