-
-
Notifications
You must be signed in to change notification settings - Fork 80
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
eventually + assertMatch #162
Comments
In my opinion, the following should be plenty enough: eventually {
assert(condition)
true
} No need for assertThis, assertThat, assertWhatever. No need for eventuallyThis, eventuallyThat, eventuallyWhatever. If you seek the convenience of such this that whatever, you should employ ScalaTest instead, not uTest. |
@frgomes Thanks for the friendly contribution. My point is that I don't think it should be necessary to add a manual |
@NeQuissimus :: I certainly understand your point. My point is that |
Using a combination of
eventually
andassertMatch
is currently rather inconvenient.assertMatch
returnsUnit
while eventually expectsBoolean
.So the following piece of code does not compile
while this does but only with a manual
true
as a workaround.Maybe an
eventually
that only cares about match errors or a neweventuallyMatch
could be added?The text was updated successfully, but these errors were encountered: