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

v2: fix equal and add test for equal. (https://github.com/hashicorp/go-set/issues/75) #76

Merged
merged 1 commit into from
Oct 24, 2023

Conversation

zonewave
Copy link
Contributor

No description provided.

@zonewave zonewave changed the title v2: fix equal and add test for equal. (#75) v2: fix equal and add test for equal. (https://github.com/hashicorp/go-set/issues/75) Oct 24, 2023
@zonewave
Copy link
Contributor Author

#75

@@ -201,7 +201,7 @@ func equalSet[T any](a, b Collection[T]) bool {
}
return true
})
return missing
return !missing
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

oof 😅

Copy link
Contributor

@shoenig shoenig left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks @zonewave!

@shoenig shoenig merged commit 3227ea4 into hashicorp:v2 Oct 24, 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.

2 participants