Skip to content

Commit 4ddd79f

Browse files
rklecjnyrup
authored andcommitted
Fix minor syntax error in objectgraphs.md
It's still a function and needs to be called, otherwise it shows a syntax error.
1 parent 359d851 commit 4ddd79f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/_pages/objectgraphs.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -405,7 +405,7 @@ For instance, to always compare enumerations by name, use the following statemen
405405

406406
```csharp
407407
AssertionOptions.AssertEquivalencyUsing(options =>
408-
options.ComparingEnumsByName);
408+
options.ComparingEnumsByName());
409409
```
410410

411411
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 commit comments

Comments
 (0)