mirror of
https://github.com/logos-storage/logos-storage-nim.git
synced 2026-01-05 23:13:09 +00:00
checking if auto in the block expiration test has any impact on libpcre requirement
This commit is contained in:
parent
ff409175ef
commit
0935abb317
@ -293,10 +293,10 @@ asyncchecksuite "RepoStore":
|
|||||||
|
|
||||||
test "Should retrieve block expiration information":
|
test "Should retrieve block expiration information":
|
||||||
proc unpack(
|
proc unpack(
|
||||||
beIter: auto
|
beIter: Future[?!SafeAsyncIter[BlockExpiration]]
|
||||||
): Future[seq[BlockExpiration]] {.async: (raises: [CancelledError]).} =
|
): Future[seq[BlockExpiration]] {.async: (raises: [CatchableError]).} =
|
||||||
var expirations = newSeq[BlockExpiration](0)
|
var expirations = newSeq[BlockExpiration](0)
|
||||||
without iter =? (await beIter):
|
without iter =? (await beIter), err:
|
||||||
return expirations
|
return expirations
|
||||||
for beFut in toSeq(iter):
|
for beFut in toSeq(iter):
|
||||||
if value =? (await beFut):
|
if value =? (await beFut):
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user