Details
-
Sub-task
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
None
-
None
-
None
Description
see https://github.com/apache/kafka/pull/9874#discussion_r556547909
Yeah, for existing code improvements (versus code introduced by this change), let's do it via a different PR. For this particular issue, we can probably wait for JUnit 5.8 and use:
- New assertInstanceOf methods as a replacement for assertTrue(obj instanceof X) which provide better error messages comparable to those of assertThrows.
related PR: https://github.com/junit-team/junit5/pull/2499
Attachments
Issue Links
- links to