mirror of
https://github.com/minio/minio.git
synced 2025-11-07 12:52:58 -05:00
tests: Do not allow forced type asserts (#20905)
This commit is contained in:
@@ -26,7 +26,7 @@ func TestIsPresent(t *testing.T) {
|
||||
for i, test := range isPresentTests {
|
||||
os.Clearenv()
|
||||
for k, v := range test.Env {
|
||||
os.Setenv(k, v)
|
||||
t.Setenv(k, v)
|
||||
}
|
||||
|
||||
ok, err := IsPresent()
|
||||
|
||||
Reference in New Issue
Block a user