mirror of
https://github.com/logos-storage/nim-datastore.git
synced 2026-01-02 13:43:11 +00:00
Replace require with check
This commit is contained in:
parent
7594f9e769
commit
6419f7ea78
@ -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