mirror of
https://github.com/minio/minio.git
synced 2025-11-20 18:06:10 -05:00
add ruleguard support, fix all the reported issues (#10335)
This commit is contained in:
@@ -559,7 +559,8 @@ func TestValue_bytesToFloat(t *testing.T) {
|
||||
value: tt.fields.value,
|
||||
}
|
||||
got, got1 := v.bytesToFloat()
|
||||
if got != tt.want {
|
||||
diff := math.Abs(got - tt.want)
|
||||
if diff > floatCmpTolerance {
|
||||
t.Errorf("bytesToFloat() got = %v, want %v", got, tt.want)
|
||||
}
|
||||
if got1 != tt.wantOK {
|
||||
|
||||
Reference in New Issue
Block a user