Skip to content

Commit 0bf74b2

Browse files
TMHSDigitalclaude
andcommitted
gofmt main_mcp_test.go (#269)
The remediation test's exclude call missed gofmt's spacing around +. Refs #269 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
1 parent 0965a30 commit 0bf74b2

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎main_mcp_test.go‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -244,7 +244,7 @@ func TestE2EMCPRemediationArgs(t *testing.T) {
244244
mcpCall{"lab_scan", `{"scenario": "lab4-recursive", "words": ["www", "dev", "api", "git", "corp", "vpn"], "depth": 2, "exclude": ["*.corp.lab.example"]}`},
245245
mcpCall{"lab_scan", `{"scenario": "lab5-failures", "words": ["www", "backup", "beta"], "retry_inconclusive": true, "auto_rate": true}`},
246246
mcpCall{"lab_scan", `{"depth": 4}`},
247-
mcpCall{"lab_scan", `{"exclude": `+string(must(json.Marshal(make([]string, maxMCPExclude+1))))+`}`},
247+
mcpCall{"lab_scan", `{"exclude": ` + string(must(json.Marshal(make([]string, maxMCPExclude+1)))) + `}`},
248248
)
249249
r := mcpReportOf(t, replies[0])
250250
if want := []string{"api.dev", "corp", "dev", "git.dev", "www"}; !slices.Equal(reportNames(r), want) {

0 commit comments

Comments
 (0)