Skip to content

Commit

Permalink
Remove redundant db.close() from test/approximate-size-test.js
Browse files Browse the repository at this point in the history
  • Loading branch information
ralphtheninja committed Jun 21, 2018
1 parent f8077cf commit d04f233
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions test/approximate-size-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -106,11 +106,7 @@ test('test approximateSize()', function (t) {
t.equal(typeof size, 'number')
// account for snappy compression, original would be ~100000
t.ok(size > 40000, 'size reports a reasonable amount (' + size + ')')

db.close(function (err) {
t.error(err)
t.end()
})
t.end()
})
})
})
Expand Down

0 comments on commit d04f233

Please sign in to comment.