From 767f78bd2a15e33ce190942ee87099cf91ca034c Mon Sep 17 00:00:00 2001 From: Ruben Bartelink Date: Sun, 24 Dec 2023 17:23:11 +0000 Subject: [PATCH] Update src/FSharp.Control.TaskSeq.Test/TaskSeq.Do.Tests.fs Co-authored-by: Abel Braaksma --- src/FSharp.Control.TaskSeq.Test/TaskSeq.Do.Tests.fs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/FSharp.Control.TaskSeq.Test/TaskSeq.Do.Tests.fs b/src/FSharp.Control.TaskSeq.Test/TaskSeq.Do.Tests.fs index dccbb4d..c914a0e 100644 --- a/src/FSharp.Control.TaskSeq.Test/TaskSeq.Do.Tests.fs +++ b/src/FSharp.Control.TaskSeq.Test/TaskSeq.Do.Tests.fs @@ -93,7 +93,7 @@ let ``CE taskSeq: use 'do!' with all kinds of overloads at once`` () = do! ValueTask <| task { do value <- value + 1 } do! ValueTask.ofTask (task { do value <- value + 1 }) do! ValueTask<_>(()) // unit ValueTask that completes immediately - do! Task.fromResult () // unit Task that completes immediately + do! Task.fromResult (()) // unit Task that completes immediately do! Task.Delay 0 do! Async.Sleep 0 do! async { value <- value + 1 } // eq 4