mirror of
https://blitiri.com.ar/repos/chasquid
synced 2026-10-29 15:02:30 +00:00
Apply go fix to simplify using modern features
This patch contains the result of running `go fix ./...`, which applies simplifications that make use of modern language features. There are no logic or behaviour changes.
This commit is contained in:
@@ -277,7 +277,7 @@ func TestNextDelay(t *testing.T) {
|
||||
}
|
||||
for _, c := range cases {
|
||||
// Repeat each case a few times to exercise the perturbation a bit.
|
||||
for i := 0; i < 10; i++ {
|
||||
for range 10 {
|
||||
delay := nextDelay(time.Now().Add(-c.since))
|
||||
|
||||
max := c.min + 1*time.Minute
|
||||
|
||||
Reference in New Issue
Block a user