Fix some lint and vet issues
This commit is contained in:
@@ -265,9 +265,9 @@ func TestWriteFileWithStatus(t *testing.T) {
|
||||
func TestTimeFormats(t *testing.T) {
|
||||
testTime := time.Date(2024, 1, 1, 12, 0, 0, 0, time.UTC)
|
||||
expected := "2024-01-01T12:00:00Z"
|
||||
|
||||
|
||||
formatted := testTime.Format("2006-01-02T15:04:05Z")
|
||||
if formatted != expected {
|
||||
t.Errorf("Time format = %s, want %s", formatted, expected)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user