Fix deprecation warning.

This commit is contained in:
cheatfate 2019-07-04 15:13:39 +03:00
parent fcfb87d2a0
commit 43ae07f20c
No known key found for this signature in database
GPG Key ID: 46ADD633A7201F95

View File

@ -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.} =