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:
authorWill Chandler <wchandler@gitlab.com>2024-01-18 00:57:51 +0300
committerGitLab <noreply@gitlab.com>2024-01-18 00:57:51 +0300
commit72faf14d9551b706f46103d665d75099ea8b1b0c (patch)
tree85abb862a6a39219643585785869aa626964cffb /internal/testhelper/directory.go
parent2f1b99e352ec5c4e270e7ecb9e4234244bf37dee (diff)
parent36339ff6300a2cc727441aa897e2793bd2fcd98a (diff)
Merge branch 'xx/fix-typos' into 'master'
fix: Fix a collection of typos found by typos-cli See merge request https://gitlab.com/gitlab-org/gitaly/-/merge_requests/6594 Merged-by: Will Chandler <wchandler@gitlab.com> Approved-by: Evan Read <eread@gitlab.com> Co-authored-by: Xing Xin <xingxin.xx@bytedance.com>
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)
}