From 4a8385813f0cf9df945fc8519090d8e8923cf9f4 Mon Sep 17 00:00:00 2001 From: Feist Josselin Date: Thu, 12 Oct 2023 16:11:21 +0200 Subject: [PATCH] fix CI --- tests/unit/slithir/test_ssa_generation.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/unit/slithir/test_ssa_generation.py b/tests/unit/slithir/test_ssa_generation.py index 688c0a5fb..1ecf82a2d 100644 --- a/tests/unit/slithir/test_ssa_generation.py +++ b/tests/unit/slithir/test_ssa_generation.py @@ -1118,7 +1118,7 @@ def test_issue_1846_ternary_in_ternary(slither_from_solidity_source): assert node.son_false.type == NodeType.EXPRESSION -def test_issue_2016(slither_from_source): +def test_issue_2016(slither_from_solidity_source): source = """ contract Contract { function test() external { @@ -1126,7 +1126,7 @@ def test_issue_2016(slither_from_source): } } """ - with slither_from_source(source) as slither: + with slither_from_solidity_source(source) as slither: c = slither.get_contract_from_name("Contract")[0] f = c.functions[0] operations = f.slithir_operations