From f0ac4d9b5c3b1b43c457d233e3fc4906b3e08a64 Mon Sep 17 00:00:00 2001 From: lxowalle Date: Wed, 15 Apr 2026 11:32:21 +0800 Subject: [PATCH] fix lint --- pkg/agent/steering_test.go | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/pkg/agent/steering_test.go b/pkg/agent/steering_test.go index 3d3fa7a51..70fd46c0c 100644 --- a/pkg/agent/steering_test.go +++ b/pkg/agent/steering_test.go @@ -1119,8 +1119,14 @@ func TestAgentLoop_Steering_BtwCommandBypassesQueuedTurn(t *testing.T) { if outbound.SessionKey != expectedSessionKey { t.Fatalf("expected /btw outbound session_key %q, got %q", expectedSessionKey, outbound.SessionKey) } - if outbound.Scope == nil || outbound.Scope.AgentID != routing.DefaultAgentID || outbound.Scope.Channel != "test" { - t.Fatalf("expected /btw outbound scope for agent %q on test channel, got %+v", routing.DefaultAgentID, outbound.Scope) + if outbound.Scope == nil || + outbound.Scope.AgentID != routing.DefaultAgentID || + outbound.Scope.Channel != "test" { + t.Fatalf( + "expected /btw outbound scope for agent %q on test channel, got %+v", + routing.DefaultAgentID, + outbound.Scope, + ) } case <-time.After(2 * time.Second): t.Fatal("timeout waiting for /btw outbound response")