mirror of
https://github.com/minio/minio.git
synced 2025-11-09 05:34:56 -05:00
add ruleguard support, fix all the reported issues (#10335)
This commit is contained in:
@@ -75,7 +75,7 @@ func TestReleaseTagToNFromTimeConversion(t *testing.T) {
|
||||
if err != nil && err.Error() != testCase.errStr {
|
||||
t.Errorf("Test %d: Expected %v but got %v", i+1, testCase.errStr, err.Error())
|
||||
}
|
||||
if err == nil && tagTime != testCase.t {
|
||||
if err == nil && !tagTime.Equal(testCase.t) {
|
||||
t.Errorf("Test %d: Expected %v but got %v", i+1, testCase.t, tagTime)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user