@@ -31,7 +31,7 @@ module Immutable =
31
31
[<Theory; ClassData( typeof< TestImmTaskSeq>) >]
32
32
let ``TaskSeq - takeWhile filters correctly`` variant =
33
33
Gen.getSeqImmutable variant
34
- |> TaskSeq.takeWhile ( fun x -> x <= 5 )
34
+ |> TaskSeq.takeWhile ( fun x -> x <> 6 )
35
35
|> TaskSeq.map char
36
36
|> TaskSeq.map ((+) '@' )
37
37
|> TaskSeq.toArrayAsync
@@ -40,7 +40,7 @@ module Immutable =
40
40
[<Theory; ClassData( typeof< TestImmTaskSeq>) >]
41
41
let ``TaskSeq - takeWhileAsync filters correctly`` variant =
42
42
Gen.getSeqImmutable variant
43
- |> TaskSeq.takeWhileAsync ( fun x -> task { return x <= 5 })
43
+ |> TaskSeq.takeWhileAsync ( fun x -> task { return x <> 6 })
44
44
|> TaskSeq.map char
45
45
|> TaskSeq.map ((+) '@' )
46
46
|> TaskSeq.toArrayAsync
@@ -50,7 +50,7 @@ module SideEffects =
50
50
[<Theory; ClassData( typeof< TestSideEffectTaskSeq>) >]
51
51
let ``TaskSeq - takeWhile filters correctly`` variant =
52
52
Gen.getSeqWithSideEffect variant
53
- |> TaskSeq.takeWhile ( fun x -> x <= 5 )
53
+ |> TaskSeq.takeWhile ( fun x -> x <> 6 )
54
54
|> TaskSeq.map char
55
55
|> TaskSeq.map ((+) '@' )
56
56
|> TaskSeq.toArrayAsync
@@ -59,7 +59,7 @@ module SideEffects =
59
59
[<Theory; ClassData( typeof< TestSideEffectTaskSeq>) >]
60
60
let ``TaskSeq - takeWhileAsync filters correctly`` variant =
61
61
Gen.getSeqWithSideEffect variant
62
- |> TaskSeq.takeWhileAsync ( fun x -> task { return x <= 5 })
62
+ |> TaskSeq.takeWhileAsync ( fun x -> task { return x <> 6 })
63
63
|> TaskSeq.map char
64
64
|> TaskSeq.map ((+) '@' )
65
65
|> TaskSeq.toArrayAsync
0 commit comments