From 6419f7ea78a382bfa55ca45d71017572f41cfffe Mon Sep 17 00:00:00 2001 From: Tomasz Bekas Date: Wed, 20 Dec 2023 08:47:39 +0100 Subject: [PATCH] Replace require with check --- tests/datastore/modifycommontests.nim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/datastore/modifycommontests.nim b/tests/datastore/modifycommontests.nim index f8a2f84..054e6ab 100644 --- a/tests/datastore/modifycommontests.nim +++ b/tests/datastore/modifycommontests.nim @@ -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