mirror of
https://github.com/logos-storage/nim-datastore.git
synced 2026-01-03 06:03:06 +00:00
Replace require with check
This commit is contained in:
parent
795e1a3e3a
commit
673778697f
@ -26,7 +26,7 @@ proc modifyTests*(
|
||||
|
||||
let errMsg = (await op).errorOption.map((err) => err.msg)
|
||||
|
||||
require none(string) == errMsg
|
||||
check none(string) == errMsg
|
||||
|
||||
proc incAsyncFn(maybeBytes: ?seq[byte]): Future[?seq[byte]] {.async.} =
|
||||
await sleepAsync(2.millis) # allows interleaving
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user