From e5a69600782b5aa9a3bf4d7bfd6e272fce0ba69d Mon Sep 17 00:00:00 2001 From: afjcjsbx Date: Wed, 15 Apr 2026 19:48:44 +0200 Subject: [PATCH] fix lint --- pkg/commands/builtin_test.go | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/pkg/commands/builtin_test.go b/pkg/commands/builtin_test.go index b42328c96..efd27fa00 100644 --- a/pkg/commands/builtin_test.go +++ b/pkg/commands/builtin_test.go @@ -197,10 +197,12 @@ func TestBuiltinListMCP_UsesRuntimeServerStatus(t *testing.T) { if res.Outcome != OutcomeHandled { t.Fatalf("/list mcp: outcome=%v, want=%v", res.Outcome, OutcomeHandled) } - if !strings.Contains(reply, "- `filesystem`\n Enabled: yes\n Deferred: yes\n Connected: no\n Active tools: unavailable") { + if !strings.Contains(reply, "- `filesystem`\n Enabled: yes\n Deferred: yes\n "+ + "Connected: no\n Active tools: unavailable") { t.Fatalf("/list mcp reply=%q, want formatted filesystem block", reply) } - if !strings.Contains(reply, "- `github`\n Enabled: yes\n Deferred: no\n Connected: yes\n Active tools: 3") { + if !strings.Contains(reply, "- `github`\n Enabled: yes\n Deferred: no\n "+ + "Connected: yes\n Active tools: 3") { t.Fatalf("/list mcp reply=%q, want formatted github block", reply) } }