Antonboom / testifylint

The Golang linter that checks usage of github.com/stretchr/testify.
https://github.com/stretchr/testify
MIT License
87 stars 8 forks source link

contains: support `Contains` for byte slice #154

Open Antonboom opened 1 week ago

Antonboom commented 1 week ago
{Fn: "True", Argsf: `bytes.Contains(b, []byte("a"))`},
{Fn: "False", Argsf: `!bytes.Contains(b, []byte("a"))`},
{Fn: "False", Argsf: `bytes.Contains(b, []byte("a"))`},
{Fn: "True", Argsf: `!bytes.Contains(b, []byte("a"))`},

Is blocked by https://github.com/stretchr/testify/pull/1526

ccoVeille commented 1 week ago

Oh that's right but currently being addressed