Update git/client_test.go

Co-authored-by: Andy Feller <andyfeller@github.com>
This commit is contained in:
William Martin 2024-11-27 15:50:54 +01:00 committed by GitHub
parent bd44d33eaa
commit 21a14a7d1a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -69,7 +69,7 @@ func TestClientAuthenticatedCommand(t *testing.T) {
wantErr error
}{
{
name: "when credential pattern is TODO, credential helper matches everything",
name: "when credential pattern allows for anything, credential helper matches everything",
path: "path/to/gh",
pattern: AllMatchingCredentialsPattern,
wantArgs: []string{"path/to/git", "-c", "credential.helper=", "-c", `credential.helper=!"path/to/gh" auth git-credential`, "fetch"},