Skip to content
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

Merged
merged 7 commits into from
Jul 3, 2020

Conversation

ace411
Copy link
Contributor

@ace411 ace411 commented Jun 15, 2020

Dear maintainer,

I kindly request that you add the assertTrueAboutPromise() and assertFalseAboutPromise() test assertions to the library as I believe they are helpful in performing a vastness of checks on values subsumed in promises.

Copy link
Owner

@seregazhuk seregazhuk left a 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.

final class AboutPromiseTest extends TestCase
{
/** @test */
public function predicate_function_reveals_what_is_true_about_promise(): void
Copy link
Owner

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?

Copy link
Contributor Author

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.

Copy link
Contributor Author

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

Copy link
Owner

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.

@seregazhuk seregazhuk merged commit 96a1f5a into seregazhuk:master Jul 3, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants