You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In a large codebase at work I noticed that people sometimes compare the values of two len() with Equal, something that testifylint v1.4.3 currently doesn't detect. It should suggest using assert.Len() the same as if you compare with a const, i.e. assert.Equal(t, len(expected), 2)
In a large codebase at work I noticed that people sometimes compare the values of two
len()
withEqual
, something thattestifylint
v1.4.3 currently doesn't detect. It should suggest usingassert.Len()
the same as if you compare with a const, i.e.assert.Equal(t, len(expected), 2)
Expected results:
The text was updated successfully, but these errors were encountered: