Skip to content

Commit

Permalink
fix: update analyze_line() call
Browse files Browse the repository at this point in the history
  • Loading branch information
ninoseki committed Nov 12, 2020
1 parent b041151 commit f92bb41
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/plugins/npm_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,5 +18,5 @@ class TestNpmDetector:
)
def test_analyze(self, payload, should_flag):
logic = NpmDetector()
output = logic.analyze_line(payload, 1, 'mock_filename')
output = logic.analyze_line(filename='mock_filename', line=payload)
assert len(output) == int(should_flag)

0 comments on commit f92bb41

Please sign in to comment.