From 622e283d2b3243686933c3a87d57344a7e56e6fd Mon Sep 17 00:00:00 2001 From: William Martin Date: Wed, 27 Nov 2024 15:51:38 +0100 Subject: [PATCH] Update git/client_test.go Co-authored-by: Andy Feller --- git/client_test.go | 1 + 1 file changed, 1 insertion(+) diff --git a/git/client_test.go b/git/client_test.go index b39ae7acb..65adf96da 100644 --- a/git/client_test.go +++ b/git/client_test.go @@ -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