-
Notifications
You must be signed in to change notification settings - Fork 7
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
Add assertTrueAboutPromise() and assertFalseAboutPromise() #21
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.
Thank you for the request. Looks great! 👍 Can you fix one issue, please? And I'll merge it.
tests/AboutPromiseTest.php
Outdated
final class AboutPromiseTest extends TestCase | ||
{ | ||
/** @test */ | ||
public function predicate_function_reveals_what_is_true_about_promise(): void |
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 like you used tabs instead of spaces here. Can you fix it, please?
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.
Yes, I will. Thanks for responding.
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.
Does this look better? a5a2f7d
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! 🔥 There is a conflict with master branch. Can you fix it? and I'll merge the request.
# Conflicts: # src/TestCase.php
Dear maintainer,
I kindly request that you add the
assertTrueAboutPromise()
andassertFalseAboutPromise()
test assertions to the library as I believe they are helpful in performing a vastness of checks on values subsumed in promises.