Skip to content
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

Map entry values handle deep equality comparison again #2265

Merged
merged 4 commits into from Jun 17, 2021

Conversation

schlosna
Copy link
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
Copy link
Member

scordio commented Jun 17, 2021

@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
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
Copy link
Member

scordio commented Jun 18, 2021

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