test: make portable fixtures optional and cover xigmanas

This commit is contained in:
mchus committed 2026-09-12 16:42:13 +03:00
1 parent a5c77db9c6
commit cf9c6b8909
5 files changed
+93 -5

No files matched your search

@@ -186,6 +186,9 @@ func loadRawExportTreeFromExampleZip(t *testing.T, name string) map[string]inter
path := filepath.Join("..", "..", "..", "example", name)
f, err := os.Open(path)
if err != nil {
if os.IsNotExist(err) {
t.Skipf("optional example zip %s is not present", path)
}
t.Fatalf("open example zip %s: %v", path, err)
}
defer f.Close()