Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-pages.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'internal/vfs/zip/archive_test.go')
-rw-r--r--internal/vfs/zip/archive_test.go7
1 files changed, 6 insertions, 1 deletions
diff --git a/internal/vfs/zip/archive_test.go b/internal/vfs/zip/archive_test.go
index 3273edad..37e81d7a 100644
--- a/internal/vfs/zip/archive_test.go
+++ b/internal/vfs/zip/archive_test.go
@@ -19,9 +19,14 @@ import (
var (
chdirSet = false
- zipCfg = config.Default.Zip
+ zipCfg *config.ZipServing
)
+func init() {
+ config.Init()
+ zipCfg = config.Default.Zip
+}
+
func TestOpen(t *testing.T) {
zip, cleanup := openZipArchive(t, nil)
defer cleanup()