mirror of
https://github.com/morluto/rea.git
synced 2026-12-01 19:09:21 +00:00
test(wasm): assert the structured refusal facts, not the reason sentence (#15419)
#15415 merged before its review fix: the attribution test still froze the explanatory reason text. Keep code and details.side, which carry the contract, so a wording change cannot break the test.
This commit is contained in:
1 parent
0b7f2229b5
commit
8ae69d7f2e
1 file changed
+1
-6
@@ -931,12 +931,7 @@ describe("compare_wasm_interfaces Evidence attribution", () => {
|
||||
// integrity failure and names the argument through details.side.
|
||||
expect(parseMcpToolError(response).error).toMatchObject({
|
||||
code: "evidence_integrity_mismatch",
|
||||
details: {
|
||||
side,
|
||||
reason: expect.stringContaining(
|
||||
"subject or selected path does not match its normalized artifact identity",
|
||||
),
|
||||
},
|
||||
details: { side },
|
||||
});
|
||||
expect(session.exportEvidenceBundle().records).toEqual([]);
|
||||
});
|
||||
|
||||
Reference in new issue
Block a user