Skip to content

change assertTrue(a instanceof b) -> assertInstanceOf(a, b) #4654

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

Merged
merged 1 commit into from
Sep 19, 2024

Conversation

jojoldu
Copy link
Contributor

@jojoldu jojoldu commented Aug 24, 2024

assertInstanceOf has been added since Junit5(jupiter) version 5.8.
All existing test codes that used assertTrue (a instanceOf b) have been changed to simpler codes such as assertInstanceOf(a, b).

@jojoldu jojoldu changed the title change assertTrue (a instanceof b) -> assertInstanceOf (a, b) change assertTrue(a instanceof b) -> assertInstanceOf(a, b) Aug 24, 2024
@fmbenhassine fmbenhassine added this to the 5.2.0-M2 milestone Sep 19, 2024
@fmbenhassine fmbenhassine merged commit 7d15123 into spring-projects:main Sep 19, 2024
1 check passed
@fmbenhassine
Copy link
Contributor

LGTM 👍 Rebased and merged. Thank you for your contribution!

@fmbenhassine fmbenhassine added the for: backport-to-5.1.x Issues that will be back-ported to the 5.1.x line label Sep 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
for: backport-to-5.1.x Issues that will be back-ported to the 5.1.x line in: core pr-for: enhancement
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants