Skip to content

Map entry values handle deep equality comparison again - #2265

Merged
scordio merged 4 commits into
assertj:mainfrom
schlosna:ds/array-entries
Jun 17, 2021
Merged

scordio merged 4 commits into
assertj:mainfrom
schlosna:ds/array-entries

Conversation

@schlosna

Copy link
Copy Markdown
Contributor

This appears to have broken in PR #2167 specifically with the use of
Map.remove(Object, Object) that does not perform deep equality
checking on the map entry value (e.g. arrays).

Check List:

Following the contributing guidelines will make it easier for us to review and accept your PR.

This appears to have broken in PR assertj#2167 specifically with the use of
`Map.remove(Object, Object)` that does not perform deep equality
checking on the map entry value (e.g. arrays).
schlosna added a commit to palantir/atlasdb that referenced this pull request Jun 17, 2021
AssertJ 3.20.0 has a regression with
MapAssert.containsExactlyInAnyOrderEntriesOf where Map values are not
compared with deep-equality on values (e.g. byte arrays).

    assertj/assertj#2264
    assertj/assertj#2265
@scordio
scordio merged commit e3d9e07 into assertj:main Jun 17, 2021
@scordio

scordio commented Jun 17, 2021

Copy link
Copy Markdown
Member

@schlosna thank you so much for the PR. I moved the test closer to the internal implementation and added some minor changes.

@schlosna
schlosna deleted the ds/array-entries branch June 18, 2021 00:06
@schlosna

Copy link
Copy Markdown
Contributor Author

Excellent, thanks for the quick review and merge @scordio ! Do you have an idea when you might cut the next release? Thanks!

@scordio scordio added this to the 3.20.2 milestone Jun 18, 2021
@scordio

scordio commented Jun 18, 2021

Copy link
Copy Markdown
Member

We would like to address #2173 (comment) and then we will deliver 3.20.2.

neo-technology-build-agent pushed a commit to neo4j/graph-data-science that referenced this pull request Jul 15, 2021
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.

Regression in AbstractMapAssert#containsExactlyInAnyOrderEntriesOf

2 participants