lint 💄

This commit is contained in:
Samuel Berthe
2024-08-18 21:40:25 +02:00
parent f3ee53b393
commit fd136b8a23

View File

@@ -25,7 +25,7 @@ func TestIsNil(t *testing.T) {
var b *bool
is.True(IsNil(b))
var ifaceWithNilValue any = (*string)(nil)
var ifaceWithNilValue any = (*string)(nil) //nolint:staticcheck
is.True(IsNil(ifaceWithNilValue))
is.False(ifaceWithNilValue == nil) //nolint:staticcheck
}