mirror of
https://github.com/logos-storage/nim-datastore.git
synced 2026-01-02 13:43:11 +00:00
close db
This commit is contained in:
parent
b4b90485ef
commit
a045aa4ef1
@ -35,6 +35,7 @@ suite "Test Basic SQLiteDatastore":
|
||||
teardownAll:
|
||||
removeDir(basePathAbs)
|
||||
require(not dirExists(basePathAbs))
|
||||
(await dsDb.close()).tryGet()
|
||||
|
||||
basicStoreTests(dsDb, key, bytes, otherBytes)
|
||||
|
||||
@ -63,6 +64,7 @@ suite "Test Read Only SQLiteDatastore":
|
||||
teardownAll:
|
||||
removeDir(basePathAbs)
|
||||
require(not dirExists(basePathAbs))
|
||||
(await dsDb.close()).tryGet()
|
||||
|
||||
test "put":
|
||||
check:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user