Skip to content

Commit 2f55986

Browse files
committed
Cover termination implicitly
1 parent 6d4f991 commit 2f55986

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/FSharp.Control.TaskSeq.Test/TaskSeq.TakeWhile.Tests.fs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ module Immutable =
3131
[<Theory; ClassData(typeof<TestImmTaskSeq>)>]
3232
let ``TaskSeq-takeWhile filters correctly`` variant =
3333
Gen.getSeqImmutable variant
34-
|> TaskSeq.takeWhile (fun x -> x <= 5)
34+
|> TaskSeq.takeWhile (fun x -> x <> 6)
3535
|> TaskSeq.map char
3636
|> TaskSeq.map ((+) '@')
3737
|> TaskSeq.toArrayAsync
@@ -40,7 +40,7 @@ module Immutable =
4040
[<Theory; ClassData(typeof<TestImmTaskSeq>)>]
4141
let ``TaskSeq-takeWhileAsync filters correctly`` variant =
4242
Gen.getSeqImmutable variant
43-
|> TaskSeq.takeWhileAsync (fun x -> task { return x <= 5 })
43+
|> TaskSeq.takeWhileAsync (fun x -> task { return x <> 6 })
4444
|> TaskSeq.map char
4545
|> TaskSeq.map ((+) '@')
4646
|> TaskSeq.toArrayAsync
@@ -50,7 +50,7 @@ module SideEffects =
5050
[<Theory; ClassData(typeof<TestSideEffectTaskSeq>)>]
5151
let ``TaskSeq-takeWhile filters correctly`` variant =
5252
Gen.getSeqWithSideEffect variant
53-
|> TaskSeq.takeWhile (fun x -> x <= 5)
53+
|> TaskSeq.takeWhile (fun x -> x <> 6)
5454
|> TaskSeq.map char
5555
|> TaskSeq.map ((+) '@')
5656
|> TaskSeq.toArrayAsync
@@ -59,7 +59,7 @@ module SideEffects =
5959
[<Theory; ClassData(typeof<TestSideEffectTaskSeq>)>]
6060
let ``TaskSeq-takeWhileAsync filters correctly`` variant =
6161
Gen.getSeqWithSideEffect variant
62-
|> TaskSeq.takeWhileAsync (fun x -> task { return x <= 5 })
62+
|> TaskSeq.takeWhileAsync (fun x -> task { return x <> 6 })
6363
|> TaskSeq.map char
6464
|> TaskSeq.map ((+) '@')
6565
|> TaskSeq.toArrayAsync

0 commit comments

Comments
 (0)