We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0534a2b commit e8d4410Copy full SHA for e8d4410
tests/FsToolkit.ErrorHandling.TaskResult.Tests/Expecto.fs
@@ -4,10 +4,10 @@ open Expecto
4
open FsToolkit.ErrorHandling
5
6
let testCaseTask name test =
7
- testCaseAsync name (Async.AwaitTask test)
+ testCaseAsync name (async { return! test () |> Async.AwaitTask })
8
9
let ptestCaseTask name test =
10
- ptestCaseAsync name (Async.AwaitTask test)
+ ptestCaseAsync name (async { return! test () |> Async.AwaitTask })
11
12
let ftestCaseTask name test =
13
- ftestCaseAsync name (Async.AwaitTask test)
+ ftestCaseAsync name (async { return! test () |> Async.AwaitTask })
0 commit comments