Skip to content

Commit f174b65

Browse files
Update src/Hedgehog/Linq/Property.fs
Co-authored-by: Nikos Baxevanis <nikos.baxevanis@gmail.com>
1 parent d453457 commit f174b65

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/Hedgehog/Linq/Property.fs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,7 @@ type PropertyExtensions private () =
9999
/// <summary>
100100
/// Discards the result of a property, converting it to <see cref="Property"/>.
101101
/// This is useful when using assertion libraries that return non-unit types (e.g., fluent assertions).
102+
/// Note: The assertion must throw an exception on failure for the property to fail.
102103
/// Assertions that throw exceptions will still cause the property to fail.
103104
/// </summary>
104105
/// <param name="property">The property whose result should be ignored.</param>

0 commit comments

Comments
 (0)