Skip to content

Commit

Permalink
Reorder assertions
Browse files Browse the repository at this point in the history
  • Loading branch information
Troublor committed Apr 21, 2023
1 parent 063418d commit c8e6c4a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/unit/slithir/test_ssa_generation.py
Original file line number Diff line number Diff line change
Expand Up @@ -1068,13 +1068,13 @@ def test_issue_1776():
new_op = operations[0]
lvalue = new_op.lvalue
lvalue_type = lvalue.type
assert lvalue_type.is_dynamic
assert isinstance(lvalue_type, ArrayType)
assert lvalue_type.is_dynamic
lvalue_type1 = lvalue_type.type
assert not lvalue_type1.is_dynamic
assert isinstance(lvalue_type1, ArrayType)
assert not lvalue_type1.is_dynamic
assert lvalue_type1.length_value.value == "10"
lvalue_type2 = lvalue_type1.type
assert not lvalue_type2.is_dynamic
assert isinstance(lvalue_type2, ArrayType)
assert not lvalue_type2.is_dynamic
assert lvalue_type2.length_value.value == "5"

0 comments on commit c8e6c4a

Please sign in to comment.