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()