mirror of
https://github.com/restic/restic.git
synced 2025-12-12 20:12:59 +00:00
Rename unused parameters to '_'.
This commit is contained in:
@@ -12,7 +12,7 @@ import (
|
||||
// ```
|
||||
// defer TestSetFlag(t, features.Flags, features.ExampleFlag, true)()
|
||||
// ```
|
||||
func TestSetFlag(t *testing.T, f *FlagSet, flag FlagName, value bool) func() {
|
||||
func TestSetFlag(_ *testing.T, f *FlagSet, flag FlagName, value bool) func() {
|
||||
current := f.Enabled(flag)
|
||||
|
||||
panicIfCalled := func(msg string) {
|
||||
|
||||
Reference in New Issue
Block a user