Skip to content

Commit

Permalink
Improve docs
Browse files Browse the repository at this point in the history
  • Loading branch information
Christer van der Meeren committed Sep 12, 2023
1 parent 86c04f7 commit ced6810
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion DOCUMENTATION.md
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,8 @@ type Assertions =
AndDerived(t, t.Subject.Value)
```

This allows users to continue asserting on the derived state (the inner value, in this case).
This allows users to continue asserting on the derived state (the inner value, in this case), for example like
this: `nullableInt.Should().HaveValue().That.Should(()).Be(2)`.

Finally, let's look at a more complex assertion - a higher-order assertion that calls user assertions and which also
asserts for every item in a sequence:
Expand Down

0 comments on commit ced6810

Please sign in to comment.