You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Subobjects foo should be excluded, as in the excluding example.
Actual behavior:
Test fails; test report still mentions foo being excluded
Message:
Expected field sut.objs[0].subobj.foo to be "foo", but "bar" differs near "bar" (index 0).
With configuration:
- Use declared types and members
- Compare enums by value
- Compare tuples by their properties
- Compare anonymous types by their properties
- Compare records by their members
- Include non-browsable members
- Exclude member objs[]subobj.foo
- Match member by name (or throw)
- Be strict about the order of items in byte arrays
- Without automatic conversion.
Versions
6.7.0
.NET Framework 4.8
The text was updated successfully, but these errors were encountered:
Description
When using
.For().Exclude()
as aBeEquivalentTo()
option,subobject
's fields are not excluded properly.Complete minimal example reproducing the issue
Expected behavior:
Subobjects foo should be excluded, as in the excluding example.
Actual behavior:
Test fails; test report still mentions foo being excluded
Versions
The text was updated successfully, but these errors were encountered: