SpecsFor
SpecsFor copied to clipboard
ShouldLookLike should return all errors when performing a partial match
There's a small inconsistency between the way ShouldLookLike behaves when given a concrete object and a lambda. With a concrete object, all properties that are not equal are included in the failure message. When using a lambda expression for partial comparison, only the first mismatch is included in the failure message.