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/testhelpers/tmpdir.go')
-rw-r--r--internal/testhelpers/tmpdir.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/testhelpers/tmpdir.go b/internal/testhelpers/tmpdir.go
index 92987199..de104a04 100644
--- a/internal/testhelpers/tmpdir.go
+++ b/internal/testhelpers/tmpdir.go
@@ -24,7 +24,7 @@ func TmpDir(tb testing.TB, pattern string) (vfs.Root, string) {
tmpDir, err = filepath.EvalSymlinks(tmpDir)
require.NoError(tb, err)
- root, err := fs.Root(context.Background(), tmpDir)
+ root, err := fs.Root(context.Background(), tmpDir, "")
require.NoError(tb, err)
tb.Cleanup(func() {