From 56e2bf7696e6ccbc3e4b5baf9249c6d4152f4a43 Mon Sep 17 00:00:00 2001 From: morluto <76467478+morluto@users.noreply.github.com> Date: Tue, 29 Sep 2026 18:00:30 +0800 Subject: [PATCH] test: remove vacuous and duplicate assertions --- src/domain/analysisSnapshot.test.ts | 2 -- .../applications/applicationEvidenceMcp.test.ts | 11 ----------- .../providers/hopper/realHopperAssertions.test.ts | 10 ---------- 3 files changed, 23 deletions(-) diff --git a/src/domain/analysisSnapshot.test.ts b/src/domain/analysisSnapshot.test.ts index 96372767e3..e0e1e88dbc 100644 --- a/src/domain/analysisSnapshot.test.ts +++ b/src/domain/analysisSnapshot.test.ts @@ -89,6 +89,4 @@ describe("analysis snapshot contract", () => { }), ).toBeUndefined(); }); - - it("rejects an input without the current snapshot shape", () => {}); }); diff --git a/tests/acceptance/applications/applicationEvidenceMcp.test.ts b/tests/acceptance/applications/applicationEvidenceMcp.test.ts index 549a765bb1..959fae9553 100644 --- a/tests/acceptance/applications/applicationEvidenceMcp.test.ts +++ b/tests/acceptance/applications/applicationEvidenceMcp.test.ts @@ -200,17 +200,6 @@ async function assertRejectedInlineEvidence(client: Client): Promise { }, }); expect(spoofed.isError).toBe(true); - - const legacyComparisonReferences = await client.callTool({ - name: "compare_application_versions", - arguments: { - left_evidence_id: - JAVASCRIPT_VERSION_COMPARISON_FULL_EVIDENCE_EXAMPLE.left.evidence_id, - right_evidence_id: - JAVASCRIPT_VERSION_COMPARISON_FULL_EVIDENCE_EXAMPLE.right.evidence_id, - }, - }); - expect(legacyComparisonReferences.isError).toBe(true); } describe("application workflow MCP parity", () => { diff --git a/tests/conformance/providers/hopper/realHopperAssertions.test.ts b/tests/conformance/providers/hopper/realHopperAssertions.test.ts index 7c118bf7a9..7d3adc3b9e 100644 --- a/tests/conformance/providers/hopper/realHopperAssertions.test.ts +++ b/tests/conformance/providers/hopper/realHopperAssertions.test.ts @@ -40,7 +40,6 @@ describe("real Hopper semantic assertions", () => { it("rejects success-shaped dossiers without truthful semantic content", () => { const dossier = validDossier(); - expect(requireFunctionDossier(dossier, "0x1000")).toEqual(dossier); expect(() => requireFunctionDossier( { @@ -50,15 +49,6 @@ describe("real Hopper semantic assertions", () => { "0x1000", ), ).toThrow(/embedded failure/u); - expect(requireFunctionDossier(dossier, "0x1000")).not.toHaveProperty( - "instruction_scan", - ); - }); - - it("accepts a complete inline dossier", () => { - const dossier = validDossier(); - const complete = { ...dossier, pseudocode: "😀" }; - expect(requireFunctionDossier(complete, "0x1000")).toEqual(complete); }); });