style: replace interface{} by any

This commit is contained in:
Samuel Berthe
2024-06-30 03:34:15 +02:00
parent 9405c90405
commit 0a145c7cc7
2 changed files with 11 additions and 11 deletions

View File

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