File tree Expand file tree Collapse file tree 1 file changed +8
-4
lines changed
src/FSharp.Control.TaskSeq.Test Expand file tree Collapse file tree 1 file changed +8
-4
lines changed Original file line number Diff line number Diff line change @@ -48,22 +48,26 @@ module With =
48
48
module EmptySeq =
49
49
[<Theory; ClassData( typeof< TestEmptyVariants>) >]
50
50
let ``TaskSeq - takeWhile + A has no effect`` variant = task {
51
- do ! Gen.getEmptyVariant variant
51
+ do !
52
+ Gen.getEmptyVariant variant
52
53
|> TaskSeq.takeWhile ((=) 12 )
53
54
|> verifyEmpty
54
55
55
- do ! Gen.getEmptyVariant variant
56
+ do !
57
+ Gen.getEmptyVariant variant
56
58
|> TaskSeq.takeWhileAsync ((=) 12 >> Task.fromResult)
57
59
|> verifyEmpty
58
60
}
59
61
60
62
[<Theory; ClassData( typeof< TestEmptyVariants>) >]
61
63
let ``TaskSeq - takeWhileInclusive + A has no effect`` variant = task {
62
- do ! Gen.getEmptyVariant variant
64
+ do !
65
+ Gen.getEmptyVariant variant
63
66
|> TaskSeq.takeWhileInclusive ((=) 12 )
64
67
|> verifyEmpty
65
68
66
- do ! Gen.getEmptyVariant variant
69
+ do !
70
+ Gen.getEmptyVariant variant
67
71
|> TaskSeq.takeWhileInclusiveAsync ((=) 12 >> Task.fromResult)
68
72
|> verifyEmpty
69
73
}
You can’t perform that action at this time.
0 commit comments