@@ -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