From 0935abb317966a3b7fce4d9d1234e48362e7904b Mon Sep 17 00:00:00 2001 From: Marcin Czenko Date: Tue, 3 Jun 2025 02:38:39 +0200 Subject: [PATCH] checking if `auto` in the block expiration test has any impact on libpcre requirement --- tests/codex/stores/testrepostore.nim | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/codex/stores/testrepostore.nim b/tests/codex/stores/testrepostore.nim index d1580f41..69f38711 100644 --- a/tests/codex/stores/testrepostore.nim +++ b/tests/codex/stores/testrepostore.nim @@ -293,10 +293,10 @@ asyncchecksuite "RepoStore": test "Should retrieve block expiration information": proc unpack( - beIter: auto - ): Future[seq[BlockExpiration]] {.async: (raises: [CancelledError]).} = + beIter: Future[?!SafeAsyncIter[BlockExpiration]] + ): Future[seq[BlockExpiration]] {.async: (raises: [CatchableError]).} = var expirations = newSeq[BlockExpiration](0) - without iter =? (await beIter): + without iter =? (await beIter), err: return expirations for beFut in toSeq(iter): if value =? (await beFut):