test(mcp): retain distinct Objective-C class observations

Require both fixture addresses and unknown identity coverage when no selected-image binding proof permits coalescing.
This commit is contained in:
morluto committed 2026-10-21 06:45:34 +08:00
1 parent 56679dd2ae
commit ccc7da309d
1 file changed
+6 -2
@@ -278,8 +278,12 @@ describe("enhanced MCP tools", () => {
),
);
expect(results[0]).toMatchObject({
count: 1,
classes: [{ address: "0x10", name: "_OBJC_CLASS_$_Fixture" }],
count: 2,
classes: [
{ address: "0x10", name: "_OBJC_CLASS_$_Fixture" },
{ address: "0x11", name: "_OBJC_CLASS_$_Fixture" },
],
identity_coverage: { status: "unknown" },
});
expect(results[1]).toMatchObject({
count: 1,