2
2
mirror of https://github.com/octoleo/restic.git synced 2024-11-24 05:37:37 +00:00
restic/internal/backend/retry/testing.go
Michael Eischer d1a5ec7839 Rename unused testing parameter to _
The parameter is an additional marker that the test helper must only be
used for tests.
2023-05-18 21:17:53 +02:00

9 lines
160 B
Go

package retry
import "testing"
// TestFastRetries reduces the initial retry delay to 1 millisecond
func TestFastRetries(_ testing.TB) {
fastRetries = true
}