Skip to content

Commit 4406d82

Browse files
Add a few missing Prop.ForAll overloads.
1 parent 6dc45a1 commit 4406d82

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

FsCheck Release Notes.md

+2
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@
44

55
* Added a few missing methods in `Fluent.Arbitrary`.
66

7+
* Add a few missing `Prop.ForAll` overloads.
8+
79

810
### 3.0.0-beta1 - 5 September 2021
911

src/FsCheck/Fluent.Prop.fs

+4
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,8 @@ type Prop private() =
1515

1616
static member ForAll(arb:Arbitrary<'Value>, body:Func<'Value,bool>) = Prop.forAll arb body.Invoke
1717

18+
static member ForAll(arb:Arbitrary<'Value>, body:Func<'Value,Threading.Tasks.Task>) = forAll arb body.Invoke
19+
1820
static member ForAll(arb:Arbitrary<'Value>, body:Func<'Value,Threading.Tasks.Task<bool>>) = forAll arb body.Invoke
1921

2022
static member ForAll(arb:Arbitrary<'Value>, body:Func<'Value,Property>) = forAll arb body.Invoke
@@ -23,6 +25,8 @@ type Prop private() =
2325

2426
static member ForAll(body:Func<'Value,bool>) = property body.Invoke
2527

28+
static member ForAll(body:Func<'Value,Threading.Tasks.Task>) = property body.Invoke
29+
2630
static member ForAll(body:Func<'Value,Threading.Tasks.Task<bool>>) = property body.Invoke
2731

2832
static member ForAll(body:Func<'Value,Property>) = property body.Invoke

0 commit comments

Comments
 (0)