From 048b79878c70c594789909082499dc675472b63a Mon Sep 17 00:00:00 2001 From: morluto <76467478+morluto@users.noreply.github.com> Date: Sat, 10 Oct 2026 04:39:17 +0800 Subject: [PATCH] test(native): retain trace diagnostics when observed hits differ --- scripts/verify-native-calls.mjs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/verify-native-calls.mjs b/scripts/verify-native-calls.mjs index 62c9a2b19..7a2262075 100644 --- a/scripts/verify-native-calls.mjs +++ b/scripts/verify-native-calls.mjs @@ -95,8 +95,8 @@ const checkScenario = async (binary) => { }); const greet = result.events.filter(({ symbol }) => symbol === GREET); const add = result.events.filter(({ symbol }) => symbol === "rea_call_add"); - assert.equal(greet.length, 3); - assert.equal(add.length, 3); + assert.equal(greet.length, 3, JSON.stringify(result)); + assert.equal(add.length, 3, JSON.stringify(result)); for (const [index, event] of greet.entries()) { assert.equal(event.receiver_class, "ReaCallGreeter"); assert.equal(event.selector, "greet:times:");