Help us shape the future of Go! Take the 2026 Go Developer Survey

gittest

package
v8.156.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 22, 2026 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package gittest runs git for reservation test fixtures, in both cmd/reservation and pkg/reservation, failing the test on error.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GitOutput

func GitOutput(t testing.TB, dir string, args ...string) string

GitOutput runs git in dir and returns its trimmed stdout, failing the test on error.

func RunGit

func RunGit(t testing.TB, dir string, args ...string)

RunGit runs git in dir, failing the test on error.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL