mirror of
https://github.com/restic/restic.git
synced 2026-10-24 01:38:54 +00:00
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:
1 parent
1514593f22
commit
d1a5ec7839
6 files changed
+8
-7
No files matched your search
@@ -209,7 +209,7 @@ func TestParseHandle(s string, t BlobType) BlobHandle {
|
||||
}
|
||||
|
||||
// TestSetSnapshotID sets the snapshot's ID.
|
||||
func TestSetSnapshotID(t testing.TB, sn *Snapshot, id ID) {
|
||||
func TestSetSnapshotID(_ testing.TB, sn *Snapshot, id ID) {
|
||||
sn.id = &id
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user