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

Generalize AssertThatThrownBy Refaster rule #1477

Merged
merged 1 commit into from
Dec 23, 2024

Conversation

Stephan202
Copy link
Member

@Stephan202 Stephan202 commented Dec 23, 2024

Suggested commit message:

Generalize `AssertThatThrownBy` Refaster rule (#1477)

By replacing it with the `AssertThatThrownByAsInstanceOfThrowable` and
`AssertThatThrownByIsInstanceOf` rules that are slightly more type-safe.

This resolves an issue discussed here.

By replacing it with the `AssertThatThrownByAsInstanceOfThrowable` and
`AssertThatThrownByIsInstanceOf` rules that are slightly more type-safe.
Copy link
Contributor

@mohamedsamehsalah mohamedsamehsalah left a comment

Choose a reason for hiding this comment

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

:LGTM 🚀

Copy link
Member

@rickie rickie left a comment

Choose a reason for hiding this comment

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

That's a very nice fix @Stephan202 🚀

@rickie rickie merged commit f124749 into master Dec 23, 2024
15 checks passed
@rickie rickie deleted the sschroevers/generalize-AssertThatThrownBy branch December 23, 2024 16:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

Successfully merging this pull request may close these issues.

3 participants