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

Remove Iterable checking logic from IterableEq #3420

Merged
merged 7 commits into from Apr 16, 2023

Conversation

echo304
Copy link
Contributor

@echo304 echo304 commented Feb 18, 2023

Resolve #3130 #3032

It changes behavior of IterableEq. Although it still has the term "Iterable" but it does not mean that it support equality check for Iterables of any type. With this change, it only supports equality check for Iterables of the following types:
List, Set, Collection and additionally Arrays of any type.

  • Removes is Iterable check from IterableEq
  • Fix relevant test codes and update documentation

@echo304 echo304 marked this pull request as ready for review February 19, 2023 11:39
@Kantis
Copy link
Member

Kantis commented Feb 22, 2023

I think this is what we want to change, yes.

@Kantis Kantis added this to the 6.0 milestone Feb 23, 2023
@sksamuel
Copy link
Member

sksamuel commented Apr 2, 2023

I'm ok pulling this into 5.6
The existing behavior is just broken.
What do you think @Kantis ?

@sksamuel sksamuel requested review from Kantis and sksamuel April 2, 2023 10:42
@sksamuel sksamuel merged commit 361c176 into kotest:master Apr 16, 2023
16 of 17 checks passed
@Kantis Kantis modified the milestones: 6.0, 5.6 Apr 18, 2023
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.

Jackson JsonNode comparisons are broken
3 participants