Update git/client_test.go
Co-authored-by: Andy Feller <andyfeller@github.com>
This commit is contained in:
parent
21a14a7d1a
commit
622e283d2b
1 changed files with 1 additions and 0 deletions
|
|
@ -1494,6 +1494,7 @@ type commandResult struct {
|
|||
|
||||
type mockedCommands map[args]commandResult
|
||||
|
||||
// TestCommandMocking is an invoked test helper that emulates expected behavior for predefined shell commands, erroring when unexpected conditions are encountered.
|
||||
func TestCommandMocking(t *testing.T) {
|
||||
if os.Getenv("GH_WANT_HELPER_PROCESS_RICH") != "1" {
|
||||
return
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue