fix lint issues

This commit is contained in:
Hetul Patel 2019-12-13 15:30:40 -08:00
parent ff09b3f21d
commit 124c89b173

View File

@ -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)