Closed ccoVeille closed 5 months ago
Surprisingly, this pattern is used very often
https://github.com/search?q=language%3Ago+%22assert.Zero%28t%2C+len%22&type=code
assert.Zero(t, len(result))
https://github.com/search?q=language%3Ago+%22assert.Empty%28t%2C+len%22&type=code
assert.Empty(t, len(result))
We should suggest using
assert.Empty(t, result)
Surprisingly, this pattern is used very often
https://github.com/search?q=language%3Ago+%22assert.Zero%28t%2C+len%22&type=code
https://github.com/search?q=language%3Ago+%22assert.Empty%28t%2C+len%22&type=code
We should suggest using