Skip to content

Conversation

@timtebeek
Copy link
Contributor

hi! Hope this is appreciated; was reading the examples and saw that these aren't using chained assertions as much as they could. Figured it'd be helpful to set the example that that is very much a thing you can do with AssertJ, to get away from repeated lines starting with the same assertThat(actual).

If this is not appreciated also let me know; there's a few other improvements I'd held off on to make this easier to review.

@scordio scordio merged commit 72c339f into assertj:main Apr 14, 2025
@scordio
Copy link
Member

scordio commented Apr 14, 2025

It's very much appreciated 🙂 Thanks for it!

Eventually, we'll move this repo into the main multimodule (assertj/assertj#2424), but any improvement is always welcome!

@timtebeek timtebeek deleted the refactor/collapse-consecutive-assert-that-statements branch April 15, 2025 07:42
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.

2 participants