From 37f86979eefddb653e90b6af700b976dd3463417 Mon Sep 17 00:00:00 2001 From: Runxi Yu Date: Sun, 7 Jun 2026 09:35:38 +0000 Subject: internal/testgit: Unexport Run and Command --- internal/testgit/command.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'internal/testgit/command.go') 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 -- cgit v1.3.1-10-gc9f91