mirror of
https://github.com/samber/lo.git
synced 2025-09-26 20:11:13 +08:00
lint 💄
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
Reference in New Issue
Block a user