Skip to content

Commit 711239b

Browse files
authored
test(mcp): remove redundant testCase function and streamline test setup (#437)
Signed-off-by: Marc Nuri <[email protected]>
1 parent 1783144 commit 711239b

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

pkg/mcp/common_test.go

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -184,10 +184,6 @@ func (c *mcpContext) afterEach() {
184184
c.klogState.Restore()
185185
}
186186

187-
func testCase(t *testing.T, test func(c *mcpContext)) {
188-
testCaseWithContext(t, &mcpContext{}, test)
189-
}
190-
191187
func testCaseWithContext(t *testing.T, mcpCtx *mcpContext, test func(c *mcpContext)) {
192188
mcpCtx.beforeEach(t)
193189
defer mcpCtx.afterEach()

0 commit comments

Comments
 (0)