diff --git a/internal/archiver/archiver_test.go b/internal/archiver/archiver_test.go index 3c4e3fdf6..e84d4c0b9 100644 --- a/internal/archiver/archiver_test.go +++ b/internal/archiver/archiver_test.go @@ -1984,13 +1984,6 @@ func snapshot(t testing.TB, repo restic.Repository, fs fs.FS, parent restic.ID, return snapshotID, node } -func chmod(t testing.TB, filename string, mode os.FileMode) { - err := os.Chmod(filename, mode) - if err != nil { - t.Fatal(err) - } -} - // StatFS allows overwriting what is returned by the Lstat function. type StatFS struct { fs.FS