Open Antonboom opened 5 months ago
https://github.com/stretchr/testify/issues/1510#issuecomment-1915502355
with configurable fix:
equal-time: fix: WithinDuration # or Truncate
Related: https://github.com/kubernetes/kubernetes/blob/e67f889edc4ab278028f6cffd2501bc90a0defcf/pkg/controller/podautoscaler/metrics/client_test.go#L233
one more case to time-compare from https://github.com/Antonboom/testifylint/issues/75
time-compare
assert.True(t, ts.IsZero()) -> assert.Zero(t, ts)
https://github.com/stretchr/testify/issues/1510#issuecomment-1915502355
with configurable fix: