fix broken key not found test

This commit is contained in:
Dmitriy Ryajov 2023-09-19 18:43:34 -06:00
parent 0beb3d3c90
commit bb304a2f9d
No known key found for this signature in database
GPG Key ID: DA8C680CE7C657A4

View File

@ -61,5 +61,5 @@ proc basicStoreTests*(
test "handle missing key":
let key = Key.init("/missing/key").tryGet()
# TODO: map error correctly from threadproxy
check (await ds.get(key)).isErr() # non existing key
expect(DatastoreKeyNotFound):
discard (await ds.get(key)).tryGet() # non existing key