Open LAC-Tech opened 10 months ago
let propReverse : Property<bool> = property { let! xs = Gen.list (Range.linear 0 100) Gen.alpha return xs |> List.rev |> List.rev = xs }
This can't be piped into Property.render |> printfn "%s", Property.render needs Property<unit> as an argument.
Property.render |> printfn "%s"
Property.render
Property<unit>
I got hedgehog with dotnet package add Hedgehog
dotnet package add Hedgehog
Thanks for reporting.
The correct fix is to first pipe into Property.falseToFailure.
Property.falseToFailure
Can you create a PR with this change?
This can't be piped into
Property.render |> printfn "%s"
,Property.render
needsProperty<unit>
as an argument.I got hedgehog with
dotnet package add Hedgehog