Skip to content

Commit

Permalink
Fix typescirpt test
Browse files Browse the repository at this point in the history
  • Loading branch information
ahmadkaouk committed Apr 3, 2024
1 parent 3d93509 commit af4b707
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ describeSuite({
abi = storageContract.abi;
const storageCleanerPrecompile = fetchCompiledContract("StorageCleaner");
precompile_abi = storageCleanerPrecompile.abi;
let deployResult = await deployCreateCompiledContract(context, "Storage");
const deployResult = await deployCreateCompiledContract(context, "Storage");
contractAddress = deployResult.contractAddress;

// Create storage entries for the contract
Expand Down Expand Up @@ -63,7 +63,7 @@ describeSuite({

expectEVMResult(result.result!.events, "Revert", "Reverted");
const revertReason = await extractRevertReason(context, result.result!.hash);
expect(revertReason).to.eq(`NotSuicided: ${contractAddress}`);
expect(revertReason).to.contain(`NotSuicided:`);
},
});

Expand Down

0 comments on commit af4b707

Please sign in to comment.