Skip to content

Commit

Permalink
Fix minor syntax error in objectgraphs.md
Browse files Browse the repository at this point in the history
It's still a function and needs to be called, otherwise it shows a syntax error.
  • Loading branch information
rklec authored and jnyrup committed Nov 26, 2024
1 parent 359d851 commit 4ddd79f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/_pages/objectgraphs.md
Original file line number Diff line number Diff line change
Expand Up @@ -405,7 +405,7 @@ For instance, to always compare enumerations by name, use the following statemen

```csharp
AssertionOptions.AssertEquivalencyUsing(options =>
options.ComparingEnumsByName);
options.ComparingEnumsByName());
```

All the options available to an individual call to `Should().BeEquivalentTo` are supported, with the exception of some of the overloads that are specific to the type of the subject (for obvious reasons).

0 comments on commit 4ddd79f

Please sign in to comment.