Manan
Manan
> I don't think any built in argument matcher for slices in any order is likely to be added, maybe after generics. > > However you can build your own...
> > I'd like to know why you think that this feature will be more useful until after there's support for generics in go. > > I'm probably just being...
> Well, you could use something like below (taking inspiration from @brackendawson's idea) - ```go // Test body in case of general bool-type assertions assert.True(t, ElementsMatch([]string{a, b}, []string{b, a})) //...
> Yes but it gets really verbose when you have multiple mocks. It would be nice to not have to repeat the code, and it would improve readability. You needn't...