Skip to content

Commit 786aa72

Browse files
greynewellclaude
andcommitted
chore: fix goimports formatting in gitzip and shards test files
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent 30a3d39 commit 786aa72

2 files changed

Lines changed: 9 additions & 9 deletions

File tree

internal/gitzip/gitzip_test.go

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -402,14 +402,14 @@ func TestIsSensitiveFile(t *testing.T) {
402402
func TestWalkZip_ExcludesSensitiveFiles(t *testing.T) {
403403
src := t.TempDir()
404404
files := map[string]string{
405-
"main.go": "package main",
406-
"appsettings.json": `{"password":"secret"}`,
405+
"main.go": "package main",
406+
"appsettings.json": `{"password":"secret"}`,
407407
"appsettings.Production.json": `{"password":"prod"}`,
408-
"local.settings.json": `{"key":"val"}`,
409-
"secrets.yml": "key: val",
410-
"server.pem": "-----BEGIN CERTIFICATE-----",
411-
"terraform.tfvars": "db_pass = \"secret\"",
412-
"prod.tfvars": "db_pass = \"secret\"",
408+
"local.settings.json": `{"key":"val"}`,
409+
"secrets.yml": "key: val",
410+
"server.pem": "-----BEGIN CERTIFICATE-----",
411+
"terraform.tfvars": "db_pass = \"secret\"",
412+
"prod.tfvars": "db_pass = \"secret\"",
413413
}
414414
for name, content := range files {
415415
if err := os.WriteFile(filepath.Join(src, name), []byte(content), 0600); err != nil {

internal/shards/daemon_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -880,8 +880,8 @@ func (m *mockAnalyzeClient) AnalyzeShards(_ context.Context, _, _ string, _ []ap
880880

881881
// orderClient records the call order of OnSyncing vs AnalyzeShards.
882882
type orderClient struct {
883-
inner analyzeClient
884-
onCall func()
883+
inner analyzeClient
884+
onCall func()
885885
}
886886

887887
func (o *orderClient) AnalyzeShards(ctx context.Context, zipPath, key string, prev []api.PreviousDomain) (*api.ShardIR, error) {

0 commit comments

Comments
 (0)