go-build/pkg/release/test_helpers_test.go

15 lines
270 B
Go
Raw Permalink Normal View History

package release
import (
"context"
"testing"
2026-04-15 11:50:20 +01:00
"dappco.re/go/build/internal/ax"
"github.com/stretchr/testify/require"
)
func runGit(t *testing.T, dir string, args ...string) {
t.Helper()
require.NoError(t, ax.ExecDir(context.Background(), dir, "git", args...))
}