mirror of
https://github.com/brianc/node-postgres.git
synced 2026-01-18 15:55:05 +00:00
fix lint issues
This commit is contained in:
parent
ff09b3f21d
commit
124c89b173
@ -14,13 +14,12 @@ describe('close', function() {
|
||||
const cursor = new Cursor(text)
|
||||
this.client.query(cursor)
|
||||
this.client.query('SELECT NOW()', done)
|
||||
cursor.read(100, function (err, res) {
|
||||
cursor.read(100, function(err) {
|
||||
assert.ifError(err)
|
||||
cursor.close()
|
||||
})
|
||||
})
|
||||
|
||||
|
||||
it('closes cursor early', function(done) {
|
||||
const cursor = new Cursor(text)
|
||||
this.client.query(cursor)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user