- Notifications
You must be signed in to change notification settings - Fork 383
Open
Description
Having static factories that accept lambdas will reduce duplicated/boilerplate code when creating matchers. A flawed PR (#203) was created for this however it lacked unit tests and the implementation failed some standard tests when passed incompatible objects (TypeSafeDiagnosingMatcher is supposed to fail gracefully without an exception when passed an incompatible object but was throwing an exception instead).
I intend to create a new PR for this with unit tests and an implementation that conforms to the expected behaviour for TypeSafeDiagnosingMatcher.
Metadata
Metadata
Assignees
Labels
No labels