From 8813792e36ee139a16fddb281b0914454db27397 Mon Sep 17 00:00:00 2001 From: Dominik Muhs Date: Sun, 25 Nov 2018 14:20:59 +0100 Subject: [PATCH] Fix solidity contract test --- tests/solidity_contract_test.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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)")