SpecsFor icon indicating copy to clipboard operation
SpecsFor copied to clipboard

ShouldLookLike should return all errors when performing a partial match

Open MattHoneycutt opened this issue 10 years ago • 0 comments

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.

MattHoneycutt avatar Nov 11 '14 20:11 MattHoneycutt