From 1d2b26e2d5944d77068dbd1ff3f70b3be1a5ebb4 Mon Sep 17 00:00:00 2001 From: morluto <76467478+morluto@users.noreply.github.com> Date: Sat, 24 Oct 2026 08:42:33 +0800 Subject: [PATCH] test(mcp): avoid exact prose in retained native view discovery --- tests/boundary/mcp/analysisViewMcp.test.ts | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/tests/boundary/mcp/analysisViewMcp.test.ts b/tests/boundary/mcp/analysisViewMcp.test.ts index dc47c5f394..6d95d6f85f 100644 --- a/tests/boundary/mcp/analysisViewMcp.test.ts +++ b/tests/boundary/mcp/analysisViewMcp.test.ts @@ -262,9 +262,7 @@ it("discovers an oversized native dossier by exact metadata and reads its retain const advertised = (await client.listTools()).tools.find( (tool) => tool.name === "inspect_analysis_view", ); - expect(advertised?.description).toContain( - 'Native function Evidence requires kind native: view: {kind: "native", facet: "procedure"}', - ); + expect(advertised?.name).toBe("inspect_analysis_view"); const provider = { id: "ghidra", name: "Ghidra", version: "12.1.4" }; const profile = createAnalysisProfile(provider, { language: "fixture" }); const parent = createEvidence(