File tree Expand file tree Collapse file tree 1 file changed +7
-1
lines changed
tests/FsToolkit.ErrorHandling.Tests Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -279,12 +279,15 @@ let traverseTaskTests =
279279 <| fun () ->
280280 task {
281281 let optTask = Some 100
282+
282283 let optFunc =
283284 string
284285 >> Task.singleton
285- let! value =
286+
287+ let! value =
286288 ( optFunc, optTask)
287289 ||> Option.traverseTask
290+
288291 Expect.equal value ( Some " 100" ) " "
289292 }
290293
@@ -455,12 +458,15 @@ let traverseAsyncTests =
455458 testCaseAsync " traverseAsync allows mapping to different types"
456459 <| async {
457460 let optAsync = Some 100
461+
458462 let optFunc =
459463 ( fun i -> string i)
460464 >> Async.singleton
465+
461466 let! value =
462467 ( optFunc, optAsync)
463468 ||> Option.traverseAsync
469+
464470 Expect.equal value ( Some " 100" ) " "
465471 }
466472
You can’t perform that action at this time.
0 commit comments