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

fix: error matcher on booleans #2986

Merged
merged 1 commit into from
Aug 22, 2024

Conversation

yenfryherrerafeliz
Copy link
Contributor

When the expected value from acceptor is a boolean then, the matcher should:

  • if expected is true then an error should be matched.
  • if expected is false then no error should has been occurred.

Issue #, if available:

Description of changes:

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Copy link
Member

@stobrien89 stobrien89 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just one minor change requested. Thanks @yenfryherrerafeliz!

*
* @return void
*/
public function testWaiterMatcherExpectNoError(): void {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

brace needs to go down to a new line

@stobrien89
Copy link
Member

We should also publish a changelog entry for this one

@yenfryherrerafeliz yenfryherrerafeliz force-pushed the fix_waiter_error_boolean branch 2 times, most recently from fbfa6b7 to 4b33693 Compare August 22, 2024 17:12
When the expected value from acceptor is a boolean then, the matcher should:
- if expected is true then an error should be matched.
- if expected is false then no error should has been occurred.
@stobrien89 stobrien89 merged commit 44c4760 into aws:master Aug 22, 2024
9 of 19 checks passed
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