Skip to content
This repository was archived by the owner on Dec 1, 2024. It is now read-only.

Commit d04f233

Browse files
author
Lars-Magnus Skog
committed
Remove redundant db.close() from test/approximate-size-test.js
1 parent f8077cf commit d04f233

1 file changed

Lines changed: 1 addition & 5 deletions

File tree

test/approximate-size-test.js

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -106,11 +106,7 @@ test('test approximateSize()', function (t) {
106106
t.equal(typeof size, 'number')
107107
// account for snappy compression, original would be ~100000
108108
t.ok(size > 40000, 'size reports a reasonable amount (' + size + ')')
109-
110-
db.close(function (err) {
111-
t.error(err)
112-
t.end()
113-
})
109+
t.end()
114110
})
115111
})
116112
})

0 commit comments

Comments
 (0)