merge fix

This commit is contained in:
Jaremy Creechley 2023-09-18 14:18:59 -07:00
parent 5e5ab2381c
commit c6283e2e0a
No known key found for this signature in database
GPG Key ID: 4E66FB67B21D3300

View File

@ -147,9 +147,7 @@ suite "Test ThreadDatastore cancelations":
test "Should monitor signal and cancel":
var
signal = ThreadSignalPtr.new().tryGet()
ctx = TaskCtx[void].new(
ds= sqlStore,
signal= signal)
ctx = TaskCtx[void].new( ds= sqlStore)
fut = newFuture[void]("signalMonitor")
threadArgs: (ptr TaskCtx[void], ptr Future[void]) = (addrOf(ctx), addr fut)
@ -178,9 +176,7 @@ suite "Test ThreadDatastore cancelations":
test "Should monitor and not cancel":
var
signal = ThreadSignalPtr.new().tryGet()
ctx = TaskCtx[void].new(
ds= sqlStore,
signal= signal)
ctx = TaskCtx[void].new( ds= sqlStore)
fut = newFuture[void]("signalMonitor")
threadArgs = (addrOf ctx, addr fut)