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

assertNoAsyncErrors more queue types and msg arg #1583

Merged
merged 2 commits into from
May 27, 2021

Conversation

bondolo
Copy link
Contributor

@bondolo bondolo commented May 26, 2021

Motivation:
Converting some existing code to use assertNoAsyncErrors I found
cases where the error queue was AssertionError not Throwable and
some cases where the message was used to provide more specific info
about the source/context of the errors.
Modifications:
Add additional overload for message and allow wildcard for queue type.
Result:
More useful assertNoAsyncErrors.

Motivation:
Converting some existing code to use `assertNoAsyncErrors` I found
cases where the error queue was `AssertionError` not `Throwable` and
some cases where the message was used to provide more specific info
about the source/context of the errors.
Modifications:
Add additional overload for message and allow wildcard for queue type.
Result:
More useful `assertNoAsyncErrors`.
@bondolo bondolo added the API PR with API changes (New or Deprecated) label May 26, 2021
@bondolo
Copy link
Contributor Author

bondolo commented May 27, 2021

Failure is due to #1579

@bondolo bondolo merged commit 62dc0c1 into apple:main May 27, 2021
@bondolo bondolo deleted the assertNoAsyncErrors branch May 27, 2021 15:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
API PR with API changes (New or Deprecated)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants