-
Notifications
You must be signed in to change notification settings - Fork 205
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
equalz Scalatest matcher in new scalatest-utils library #1200
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
- this fails because the TC parameter should be a type member to avoid scala/bug#5075 but it is not
- requires partial-unification at point of use, which is not great
…x/shouldNotx alternatives
I think FlatSpecCheckLaws and Equalz should be in Maybe even move |
CHANGELOG_BEGIN CHANGELOG_END
@leo-da All implemented. |
A shot at a type-safe extension for equality checking in Scalatest without the escape hatches afforded by the alternatives, including
===
.Open questions:
FlatSpecCheckLaws
to this library, or putEqualz
indata-scalacheck
? (NB: Equalz does not depend on scalacheck.)Pull Request Checklist
NOTE: CI is not automatically run on non-members pull-requests for security
reasons. The reviewer will have to comment with
/AzurePipelines run
totrigger the build.