Replace require with check

This commit is contained in:
Tomasz Bekas 2023-12-20 08:47:39 +01:00
parent 795e1a3e3a
commit 673778697f

View File

@ -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