Structural Equality for Better Tests
blog.ploeh.dk
blog.ploeh.dk
One example I keep hitting is a widely used JSON library for Haskell, whose test suite checks a pair of values for equality, when they just-so-happen to be in the opposite order on 32bit x86. Since I do lots of dependency pinning, this same bug keeps cropping up in different contexts :(
I think about it like running "an SQL query" on the thing I'm comparing and the resulting value structure (made up of maps/lists/numbers/bool/string) is the result set of the query. Then I compare queries.
It's a wontfix because they'd have to recompile their packages to fix it. Yeah, talk about quality...