diff --git a/tests/solidity_contract_test.py b/tests/solidity_contract_test.py index dd7cc3fb..916b68cd 100644 --- a/tests/solidity_contract_test.py +++ b/tests/solidity_contract_test.py @@ -31,8 +31,8 @@ class SolidityContractTest(BaseTestCase): input_file = TEST_FILES / "constructor_assert.sol" contract = SolidityContract(str(input_file), name="AssertFail") - code_info = contract.get_source_info(62, constructor=True) + code_info = contract.get_source_info(70, constructor=True) self.assertEqual(code_info.filename, str(input_file)) self.assertEqual(code_info.lineno, 6) - self.assertEqual(code_info.code, "assert(var1>0)") + self.assertEqual(code_info.code, "assert(var1 > 0)")