From 6d1b315763c3ff28cc923f4f5e4b5a04c3615262 Mon Sep 17 00:00:00 2001 From: dj-oyu <68707227+dj-oyu@users.noreply.github.com> Date: Wed, 4 Mar 2026 18:05:23 +0900 Subject: [PATCH] Fix linter formatting in task status tests --- pkg/channels/manager_test.go | 21 ++++++++++++++++++--- 1 file changed, 18 insertions(+), 3 deletions(-) diff --git a/pkg/channels/manager_test.go b/pkg/channels/manager_test.go index 2afb16a35..928823ac9 100644 --- a/pkg/channels/manager_test.go +++ b/pkg/channels/manager_test.go @@ -1019,7 +1019,10 @@ func TestHandleTaskStatusSend_EditsExisting(t *testing.T) { w := &channelWorker{ch: ch, limiter: rate.NewLimiter(rate.Inf, 1)} // Pre-store task message - m.taskMsgIDs.Store(taskStatusKey("test", "123", "task-abc"), statusMsgEntry{messageID: "task-msg-1", createdAt: time.Now()}) + m.taskMsgIDs.Store( + taskStatusKey("test", "123", "task-abc"), + statusMsgEntry{messageID: "task-msg-1", createdAt: time.Now()}, + ) msg := bus.OutboundMessage{ Channel: "test", @@ -1531,8 +1534,20 @@ func TestHandleTaskStatusSend_DraftStreaming_IsolatedByChatThread(t *testing.T) w := &channelWorker{ch: ch, limiter: rate.NewLimiter(rate.Inf, 1)} - msgA := bus.OutboundMessage{Channel: "test", ChatID: "-100/10", Content: "A:10%", IsTaskStatus: true, TaskID: "shared-task"} - msgB := bus.OutboundMessage{Channel: "test", ChatID: "-100/20", Content: "B:10%", IsTaskStatus: true, TaskID: "shared-task"} + msgA := bus.OutboundMessage{ + Channel: "test", + ChatID: "-100/10", + Content: "A:10%", + IsTaskStatus: true, + TaskID: "shared-task", + } + msgB := bus.OutboundMessage{ + Channel: "test", + ChatID: "-100/20", + Content: "B:10%", + IsTaskStatus: true, + TaskID: "shared-task", + } m.handleTaskStatusSend(context.Background(), "test", w, msgA) m.handleTaskStatusSend(context.Background(), "test", w, msgB)