From aff3ec67b03dec5d6d154d4e186c41f748f95802 Mon Sep 17 00:00:00 2001 From: Bernhard Mueller Date: Sat, 28 Mar 2020 16:46:40 +0100 Subject: [PATCH] Update tx.origin test to excpect SWC-115 --- tests/cmd_line_test.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/cmd_line_test.py b/tests/cmd_line_test.py index a24b8577..80bbcdce 100644 --- a/tests/cmd_line_test.py +++ b/tests/cmd_line_test.py @@ -44,12 +44,12 @@ class CommandLineToolTestCase(BaseTestCase): def test_analyze(self): solidity_file = str(TESTDATA / "input_contracts" / "origin.sol") command = "python3 {} analyze {}".format(MYTH, solidity_file) - self.assertIn("111", output_of(command)) + self.assertIn("115", output_of(command)) def test_analyze_bytecode(self): solidity_file = str(TESTDATA / "inputs" / "origin.sol.o") command = "python3 {} analyze --bin-runtime -f {}".format(MYTH, solidity_file) - self.assertIn("111", output_of(command)) + self.assertIn("115", output_of(command)) def test_invalid_args_iprof(self): solidity_file = str(TESTDATA / "input_contracts" / "origin.sol")