From 4542d25637e0b776d7619d8f60e85972fd233253 Mon Sep 17 00:00:00 2001 From: Kunal Karmakar Date: Thu, 12 Mar 2026 16:04:25 +0000 Subject: [PATCH] Addressing @Copilot suggestion to remove the init() function which seemed redundant --- pkg/providers/common/common_test.go | 7 ------- 1 file changed, 7 deletions(-) diff --git a/pkg/providers/common/common_test.go b/pkg/providers/common/common_test.go index c6b3a4b3b..b1ab4c909 100644 --- a/pkg/providers/common/common_test.go +++ b/pkg/providers/common/common_test.go @@ -2,7 +2,6 @@ package common import ( "encoding/json" - "io" "net/http" "net/http/httptest" "net/url" @@ -533,9 +532,3 @@ func TestParseResponse_WithThoughtSignature(t *testing.T) { out.ToolCalls[0].ExtraContent.Google.ThoughtSignature, "sig123") } } - -// helper to discard response body -func init() { - // suppress log output during tests - _ = io.Discard -}