test: fix issues with go 1.24

This commit is contained in:
Julien Neuhart
2025-02-13 09:21:38 +01:00
parent 8d7cc55c28
commit 81cc483166
6 changed files with 82 additions and 79 deletions

View File

@@ -31,7 +31,7 @@ func TestGarbageCollect(t *testing.T) {
err := os.MkdirAll(path, 0o755)
if err != nil {
t.Fatalf(fmt.Sprintf("expected no error but got: %v", err))
t.Fatalf("expected no error but got: %v", err)
}
err = os.WriteFile(fmt.Sprintf("%s/a_foo_file", path), []byte{1}, 0o755)