mirror of
https://github.com/minio/minio.git
synced 2025-11-10 05:59:43 -05:00
Introduce staticcheck for stricter builds (#7035)
This commit is contained in:
committed by
Nitish Tiwari
parent
4ba77a916d
commit
df35d7db9d
@@ -38,18 +38,6 @@ func TestFree(t *testing.T) {
|
||||
t.Fatal(err)
|
||||
}
|
||||
|
||||
if di.Total <= 0 {
|
||||
t.Error("Unexpected Total", di.Total)
|
||||
}
|
||||
if di.Free <= 0 {
|
||||
t.Error("Unexpected Free", di.Free)
|
||||
}
|
||||
if di.Files <= 0 {
|
||||
t.Error("Unexpected Files", di.Files)
|
||||
}
|
||||
if di.Ffree <= 0 {
|
||||
t.Error("Unexpected Ffree", di.Ffree)
|
||||
}
|
||||
if di.FSType == "UNKNOWN" {
|
||||
t.Error("Unexpected FSType", di.FSType)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user