Skip to content

Commit

Permalink
panlint: Fix checks of lint_line return values
Browse files Browse the repository at this point in the history
  • Loading branch information
jrha committed Dec 10, 2024
1 parent 417acd0 commit ed85b7d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions panc/src/main/scripts/panlint/tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -404,11 +404,11 @@ def test_component_use(self):
# Test both lines with components listed as included
self.assertEqual(
panlint.lint_line(line_standard, ['chkconfig'], False),
(line_standard, 0)
(line_standard, False)
)
self.assertEqual(
panlint.lint_line(line_prefix, ['metaconfig'], False),
(line_prefix, 0)
(line_prefix, False)
)

# Test both lines without components listed as included
Expand Down

0 comments on commit ed85b7d

Please sign in to comment.