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

Ensure assertThrows clauses only have one statement. #9180

Merged
merged 1 commit into from
Jun 13, 2024

Conversation

brettchabot
Copy link
Contributor

It is ambiguous to have multiple statements in an assertThrows clause. Using such a pattern fails internal google lint checks.

This commit removes the unnecessary use of multiple statements in assertThrows.

It is ambiguous to have multiple statements in an assertThrows
clause. Using such a pattern fails internal google lint checks.

This commit removes the unnecessary use of multiple statements
in assertThrows.
@brettchabot brettchabot merged commit 080c654 into master Jun 13, 2024
22 checks passed
@brettchabot brettchabot deleted the assertThrows branch June 13, 2024 21:54
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.

None yet

3 participants