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/git/gittest')
-rw-r--r--internal/git/gittest/command.go2
-rw-r--r--internal/git/gittest/commit_test.go2
-rw-r--r--internal/git/gittest/tree_test.go2
3 files changed, 3 insertions, 3 deletions
diff --git a/internal/git/gittest/command.go b/internal/git/gittest/command.go
index c5eef143c..c917388e9 100644
--- a/internal/git/gittest/command.go
+++ b/internal/git/gittest/command.go
@@ -128,7 +128,7 @@ type RepositoryPathExecutor struct {
factory git.CommandFactory
}
-// NewRepositoryPathExecutor creates a new ReposiotryPathExecutor for the given repository.
+// NewRepositoryPathExecutor creates a new RepositoryPathExecutor for the given repository.
func NewRepositoryPathExecutor(tb testing.TB, cfg config.Cfg, repoPath string) RepositoryPathExecutor {
relativePath, err := filepath.Rel(cfg.Storages[0].Path, repoPath)
require.NoError(tb, err)
diff --git a/internal/git/gittest/commit_test.go b/internal/git/gittest/commit_test.go
index 4f35f7ad2..9efb5a9ac 100644
--- a/internal/git/gittest/commit_test.go
+++ b/internal/git/gittest/commit_test.go
@@ -69,7 +69,7 @@ func TestWriteCommit(t *testing.T) {
}, "\n"),
},
{
- desc: "with commiter",
+ desc: "with committer",
opts: []WriteCommitOption{
WithCommitterName("John Doe"),
WithCommitterDate(time.Date(2005, 4, 7, 15, 13, 13, 0, time.FixedZone("UTC-7", -7*60*60))),
diff --git a/internal/git/gittest/tree_test.go b/internal/git/gittest/tree_test.go
index c922deb31..35d37ef0f 100644
--- a/internal/git/gittest/tree_test.go
+++ b/internal/git/gittest/tree_test.go
@@ -120,7 +120,7 @@ func TestWriteTree(t *testing.T) {
},
},
{
- desc: "two entries with nonexistant objects",
+ desc: "two entries with nonexistent objects",
entries: []TreeEntry{
{
OID: git.ObjectID(strings.Repeat("1", DefaultObjectHash.Hash().Size()*2)),