Skip to content

Commit

Permalink
Update test code
Browse files Browse the repository at this point in the history
Signed-off-by: romanodanilo <[email protected]>
  • Loading branch information
romanodanilo committed Jul 8, 2024
1 parent 2452d17 commit e5d9e1a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/test_core_checks.py
Original file line number Diff line number Diff line change
Expand Up @@ -603,9 +603,9 @@ def test_chk010_negative(
)
assert len(core_issues) == 3

assert "Duplicated name x" in core_issues[0].locations[0].description
assert "Duplicated name a" in core_issues[1].locations[0].description
assert "Duplicated name b" in core_issues[2].locations[0].description
assert "Procedure main" in core_issues[0].locations[0].description
assert "Procedure main" in core_issues[1].locations[0].description
assert "Procedure computeDelta" in core_issues[2].locations[0].description

assert core_issues[0].level == IssueSeverity.WARNING
assert core_issues[1].level == IssueSeverity.WARNING
Expand Down

0 comments on commit e5d9e1a

Please sign in to comment.