stretchr / testify

A toolkit with common assertions and mocks that plays nicely with the standard library
MIT License
22.5k stars 1.56k forks source link

Proposal: assert.NotElementsMatch() #1594

Closed jdycaico closed 1 month ago

jdycaico commented 2 months ago

Description

As per https://github.com/stretchr/testify/discussions/1592#discussioncomment-9261557: A method that does the opposite of assert.ElementsMatch()

Proposed solution

Use case

It would appear that there are no stable workarounds, and I have been suggested to make a FR

hendrywiranto commented 2 months ago

hello @jdycaico do you plan to work on this and make a PR eventually? I can try to open a PR if you won't work on this, thanks

hendrywiranto commented 1 month ago

fyi @jdycaico this has been merged https://github.com/stretchr/testify/pull/1600

hendrywiranto commented 1 month ago

btw this can be closed right? @brackendawson

brackendawson commented 1 month ago

Yes :-)