I'm biased because I had a big hand in designing the API, but I get a lot of pleasure from using this package:
https://pkg.go.dev/github.com/go-quicktest/qt It does a lot more than just "equals" and "not equals" but it's still relatively small and low-dependency. And the error messages when it fails are decent too. cheers, rog. On Thu, 22 Feb 2024 at 08:20, Harmen <har...@lijzij.de> wrote: > Hi, > > anyone has a tip for a nice (small) "assert" test help library which uses > generics for the "equals" and "not equals" functions? > > testify is the obvious library to use for tests, which works fine, but it > would > be nice to have something which uses generics here. > > Thanks! > > -- > You received this message because you are subscribed to the Google Groups > "golang-nuts" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to golang-nuts+unsubscr...@googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/golang-nuts/ZdcDz2ULDQl02Z3R%40arp.lijzij.de > . > -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/golang-nuts/CAJhgacj5vM-RUOX-g0ibNXkBuFP%3D_5fucu%3D3ofh2yoN3G6YX%2BA%40mail.gmail.com.