diff --git a/test/close.js b/test/close.js index b1557a6a..23fb7f9d 100644 --- a/test/close.js +++ b/test/close.js @@ -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)