From 1985aca58420be3b9e14919f53bb250ea8f44664 Mon Sep 17 00:00:00 2001 From: Cyrill Leutwiler Date: Thu, 15 Jun 2023 20:17:27 +0200 Subject: [PATCH] Fix codegen tests (#1364) --- .../codegen_testcases/solidity/unused_variable_elimination.sol | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/codegen_testcases/solidity/unused_variable_elimination.sol b/tests/codegen_testcases/solidity/unused_variable_elimination.sol index 5208b7423..7530ce9d0 100644 --- a/tests/codegen_testcases/solidity/unused_variable_elimination.sol +++ b/tests/codegen_testcases/solidity/unused_variable_elimination.sol @@ -66,7 +66,7 @@ contract c { x = 102 + t*y/(t+5*y) + g + test3() - vec.push(2) + ct.sum(1, 2); return 2; // CHECK: push array ty:int32[] value:int32 2 -// CHECK: _ = external call::regular address:%ct payload:%abi_encoded.temp.90 value:uint128 0 gas:uint64 0 accounts: seeds: contract|function:(0, 2) +// CHECK: _ = external call::regular address:%ct payload:%abi_encoded.temp.90 value:uint128 0 gas:uint64 0 accounts: seeds: } }