Rename unused testing parameter to _
The parameter is an additional marker that the test helper must only be used for tests.
This commit is contained in:
parent
1514593f22
commit
d1a5ec7839
6 changed files with 8 additions and 7 deletions
|
@ -3,6 +3,6 @@ package retry
|
|||
import "testing"
|
||||
|
||||
// TestFastRetries reduces the initial retry delay to 1 millisecond
|
||||
func TestFastRetries(t testing.TB) {
|
||||
func TestFastRetries(_ testing.TB) {
|
||||
fastRetries = true
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue