From 43ae07f20c3a19ab44f5b55efac0ba5b009e68ed Mon Sep 17 00:00:00 2001 From: cheatfate Date: Thu, 4 Jul 2019 15:13:39 +0300 Subject: [PATCH] Fix deprecation warning. --- tests/testsync.nim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/testsync.nim b/tests/testsync.nim index a864cd3..47bbe9b 100644 --- a/tests/testsync.nim +++ b/tests/testsync.nim @@ -95,7 +95,7 @@ suite "Asynchronous sync primitives test suite": proc test4(): int = var queue = newAsyncQueue[int](queueSize) - waitFor(task3(queue) and task4(queue)) + waitFor(allFutures(task3(queue), task4(queue))) result = testQueue2Result proc task51(aq: AsyncQueue[int]) {.async.} =