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:
Michael Eischer committed 2023-05-18 21:17:53 +02:00
1 parent 1514593f22
commit d1a5ec7839
6 files changed
+8 -7

No files matched your search

+1 -1
View File
@@ -34,7 +34,7 @@ func TestUseLowSecurityKDFParameters(t logger) {
}
// TestBackend returns a fully configured in-memory backend.
func TestBackend(t testing.TB) restic.Backend {
func TestBackend(_ testing.TB) restic.Backend {
return mem.New()
}