aboutsummaryrefslogtreecommitdiff
path: root/internal/testgit/command.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/testgit/command.go')
-rw-r--r--internal/testgit/command.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/internal/testgit/command.go b/internal/testgit/command.go
index 27fbd321..7f1835ec 100644
--- a/internal/testgit/command.go
+++ b/internal/testgit/command.go
@@ -8,7 +8,7 @@ import (
"testing"
)
-func (repo *Repo) Command(
+func (repo *Repo) command(
tb testing.TB,
command string,
args ...string,
@@ -22,7 +22,7 @@ func (repo *Repo) Command(
return cmd
}
-func (repo *Repo) Run(
+func (repo *Repo) run(
tb testing.TB,
stdin io.Reader,
command string,
@@ -30,7 +30,7 @@ func (repo *Repo) Run(
) (stdout []byte, err error) {
tb.Helper()
- cmd := repo.Command(tb, command, args...)
+ cmd := repo.command(tb, command, args...)
cmd.Stdin = stdin