From c5af4be002ea8d7590fcb6783044eb1e32a3f5f4 Mon Sep 17 00:00:00 2001 From: Marc Nuri Date: Tue, 4 Nov 2025 11:07:35 +0100 Subject: [PATCH] test(mcp): remove redundant testCase function and streamline test setup Signed-off-by: Marc Nuri --- pkg/mcp/common_test.go | 4 ---- 1 file changed, 4 deletions(-) diff --git a/pkg/mcp/common_test.go b/pkg/mcp/common_test.go index d15dca39..892226ab 100644 --- a/pkg/mcp/common_test.go +++ b/pkg/mcp/common_test.go @@ -184,10 +184,6 @@ func (c *mcpContext) afterEach() { c.klogState.Restore() } -func testCase(t *testing.T, test func(c *mcpContext)) { - testCaseWithContext(t, &mcpContext{}, test) -} - func testCaseWithContext(t *testing.T, mcpCtx *mcpContext, test func(c *mcpContext)) { mcpCtx.beforeEach(t) defer mcpCtx.afterEach()