Skip to content

Add distinct size assertions for BagAssert and allMatch for RichIterable#21

Merged
mattbertolini merged 1 commit into
assertj:mainfrom
mattbertolini:mbertolini/bag-distinct-size-assert-plus-dogfood-changes
Jul 8, 2026
Merged

Add distinct size assertions for BagAssert and allMatch for RichIterable#21
mattbertolini merged 1 commit into
assertj:mainfrom
mattbertolini:mbertolini/bag-distinct-size-assert-plus-dogfood-changes

Conversation

@mattbertolini

@mattbertolini mattbertolini commented Jul 7, 2026

Copy link
Copy Markdown
Collaborator

I've started to dogfood the library by replacing the eclipse collections Verify assertions with AssertJ. This uncovered a bunch of miscellaneous changes that were needed:

  • A RichIterableAssert to handle this type when anything more specific doesn't matter
  • Better parameterized typing to match the core AssertJ code
  • Updated soft assertion handling in 4.x
  • Correct JPMS exports declarations for transitive dependencies.

I also had a bunch of the BagAssert distinct size assertions done as well as the allMatch method done in AbstractRichIterableAssert.

@mattbertolini mattbertolini merged commit 341aa0f into assertj:main Jul 8, 2026
6 of 7 checks passed
@mattbertolini mattbertolini deleted the mbertolini/bag-distinct-size-assert-plus-dogfood-changes branch July 8, 2026 10:50
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.

1 participant