From f61488a86864960ce4127d508efd5de06bafc660 Mon Sep 17 00:00:00 2001 From: "Billy D." Date: Sat, 21 Feb 2026 15:36:46 -0500 Subject: [PATCH] style: gofmt + fix copylocks lint warning --- e2e_test.go | 12 ++++++------ main_test.go | 2 +- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/e2e_test.go b/e2e_test.go index a689e9b..46f39b7 100644 --- a/e2e_test.go +++ b/e2e_test.go @@ -169,13 +169,13 @@ func TestChatPipeline_LLMTimeout(t *testing.T) { func TestChatPipeline_TypedDecoding(t *testing.T) { // Verify typed struct decoding from proto (same path as OnTypedMessage). original := &messages.ChatRequest{ - RequestId: "req-e2e-001", - UserId: "user-1", - Message: "hello", - Premium: true, - EnableRag: false, + RequestId: "req-e2e-001", + UserId: "user-1", + Message: "hello", + Premium: true, + EnableRag: false, EnableStreaming: false, - SystemPrompt: "Be brief.", + SystemPrompt: "Be brief.", } data, _ := proto.Marshal(original) diff --git a/main_test.go b/main_test.go index bda9d6c..3a2cc2f 100644 --- a/main_test.go +++ b/main_test.go @@ -55,7 +55,7 @@ func TestChatResponseRoundtrip(t *testing.T) { t.Fatal(err) } if decoded.UserId != "user-1" || !decoded.Success { - t.Errorf("decoded = %+v", decoded) + t.Errorf("decoded: UserId=%s, Success=%v", decoded.UserId, decoded.Success) } if len(decoded.Audio) != 3 { t.Errorf("audio len = %d", len(decoded.Audio))