updated tests

This commit is contained in:
Gani Georgiev
2026-08-22 10:10:16 +03:00
parent 80608e8687
commit f544fa0c81
4 changed files with 152 additions and 11 deletions
+1
View File
@@ -1264,6 +1264,7 @@ type App interface {
// ---------------------------------------------------------------
// Filesystem event hooks
// (not publicly exposed until file_field refactoring)
// ---------------------------------------------------------------
// onFilesystemNewWriter is an internal hook for app.NewFilesystem()
+1 -1
View File
@@ -299,7 +299,7 @@ func copyFileToZip(w *zip.Writer, localPath string, zipPath string) error {
}
if info.IsDir() {
return nil
return fmt.Errorf("%s is a directory and not a regular file", localPath)
}
h, err := zip.FileInfoHeader(info)