mirror of
https://github.com/minio/minio.git
synced 2025-11-07 04:42:56 -05:00
add ruleguard support, fix all the reported issues (#10335)
This commit is contained in:
@@ -241,7 +241,7 @@ func TestExpectedExpiryTime(t *testing.T) {
|
||||
for i, tc := range testCases {
|
||||
t.Run(fmt.Sprintf("Test %d", i+1), func(t *testing.T) {
|
||||
got := expectedExpiryTime(tc.modTime, tc.days)
|
||||
if got != tc.expected {
|
||||
if !got.Equal(tc.expected) {
|
||||
t.Fatalf("Expected %v to be equal to %v", got, tc.expected)
|
||||
}
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user