Replace require with check

This commit is contained in:
Tomasz Bekas 2023-12-20 08:47:39 +01:00
parent 7594f9e769
commit 6419f7ea78
No known key found for this signature in database
GPG Key ID: 4854E04C98824959

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