From b09e6d65dbf8cc28a636c724e46fdf2890198cb3 Mon Sep 17 00:00:00 2001 From: Benjamin Fuentes Date: Fri, 17 Jan 2025 16:02:18 +0100 Subject: [PATCH] better to be more restrictive, there is sometimes a whitespace --- etherlink-marketpulse/test/Marketpulse.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/etherlink-marketpulse/test/Marketpulse.ts b/etherlink-marketpulse/test/Marketpulse.ts index 2be8be6..b0638ba 100644 --- a/etherlink-marketpulse/test/Marketpulse.ts +++ b/etherlink-marketpulse/test/Marketpulse.ts @@ -239,8 +239,8 @@ describe("Marketpulse", function () { { gasPrice: 0n } ); } catch (e) { - expect((e as ContractFunctionExecutionError).details).equals( - "VM Exception while processing transaction: reverted with reason string 'Result is already given and bets are resolved : \x00'" + expect((e as ContractFunctionExecutionError).details).contains( + "VM Exception while processing transaction: reverted with reason string 'Result is already given and bets are resolved" ); } });