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

gitlab.com/gitlab-org/gitaly.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'internal/testhelper/directory.go')
-rw-r--r--internal/testhelper/directory.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/testhelper/directory.go b/internal/testhelper/directory.go
index 58d540d51..f66862c76 100644
--- a/internal/testhelper/directory.go
+++ b/internal/testhelper/directory.go
@@ -49,7 +49,7 @@ func RequireDirectoryState(tb testing.TB, rootDirectory, relativeDirectory strin
trimmedPath := strings.TrimPrefix(path, rootDirectory)
if trimmedPath == "" {
// Store the walked directory itself as "/". Less confusing than having it be
- // an emptry string.
+ // an empty string.
trimmedPath = string(os.PathSeparator)
}