Skip to content

Commit 748827b

Browse files
Patel230claude
andcommitted
style(context): gofumpt v0.10.0 formatting for git_exec_test.go
CI's gofumpt-diff step (gofumpt v0.10.0) wanted a multi-line append; local go fmt / older gofumpt did not flag it. Matches the CI formatter. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
1 parent 4a0c23d commit 748827b

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

internal/context/git_exec_test.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,8 @@ func gitRepo(t *testing.T) func(msg string) {
3232
t.Helper()
3333
cmd := exec.Command("git", args...)
3434
// Keep config local + deterministic regardless of the host's git config.
35-
cmd.Env = append(os.Environ(),
35+
cmd.Env = append(
36+
os.Environ(),
3637
"GIT_AUTHOR_NAME=Tester", "GIT_AUTHOR_EMAIL=tester@example.com",
3738
"GIT_COMMITTER_NAME=Tester", "GIT_COMMITTER_EMAIL=tester@example.com",
3839
"GIT_CONFIG_GLOBAL=/dev/null", "GIT_CONFIG_SYSTEM=/dev/null",

0 commit comments

Comments
 (0)