This commit is contained in:
Jared Wasinger 2025-03-14 14:56:53 +01:00
parent c0e1c8b2b1
commit 868f082f82

View file

@ -2081,8 +2081,8 @@ func TestBindings(t *testing.T) {
}
// Create a temporary workspace for the test suite
ws, _ := os.MkdirTemp("", "abigen")
pkg := filepath.Join(ws, "bindtest")
path := t.TempDir()
pkg := filepath.Join(path, "bindtest")
if err := os.MkdirAll(pkg, 0700); err != nil {
t.Fatalf("failed to create package: %v", err)
}