2 ms·
Yeah, I think the `detest` package is using wrong tool for the job. (And there is already testify and diff.)
by shp0ngle 6y ago
Yeah, I think the `detest` package is using wrong tool for the job.
(And there is already testify and diff.)
- Cthulhu_ 6y agoI looked at the code and it did not feel good. Go's ecosystem focuses on line-of-sight coding, that is, happy path has the least indentation, unhappy path (e.g. test failures in the naive / default unit test approach) should be indented. This tool seems to do a lot of indentation. I know it's a bit of an arbitrary thing, but it's a good rule of thumb. And it's consistent with the other 99% of Go code, which is really important.