mirror of
https://github.com/logos-storage/nim-datastore.git
synced 2026-01-06 07:33:10 +00:00
fix broken key not found test
This commit is contained in:
parent
0beb3d3c90
commit
bb304a2f9d
@ -61,5 +61,5 @@ proc basicStoreTests*(
|
|||||||
test "handle missing key":
|
test "handle missing key":
|
||||||
let key = Key.init("/missing/key").tryGet()
|
let key = Key.init("/missing/key").tryGet()
|
||||||
|
|
||||||
# TODO: map error correctly from threadproxy
|
expect(DatastoreKeyNotFound):
|
||||||
check (await ds.get(key)).isErr() # non existing key
|
discard (await ds.get(key)).tryGet() # non existing key
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user