-
Couldn't load subscription status.
- Fork 1.4k
assertCompletesM #4740
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
assertCompletesM #4740
Conversation
|
@emarx you will need to run |
|
Thanks, @regiskuckaertz! Ran |
| * Asserts that the given test was completed. | ||
| */ | ||
| val assertCompletesM: UIO[TestResult] = | ||
| assertMImpl(UIO.succeed(true))(Assertion.isTrue) |
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.
Can actually be succeedNow for internal implementations like this.
| } | ||
|
|
||
| object Sized { | ||
|
|
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.
Unrelated changes?
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.
Whoops, hadn't switched the scalafmt
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.
Looks great! Just a couple of very minor comments.
|
Thanks for your review, @adamgfraser! Comments addressed. |
|
Looks great! Will merge after all the checks pass. |
This PR adds a function
assertCompletesMto complement the existingassertCompletes