We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b041151 commit f92bb41Copy full SHA for f92bb41
tests/plugins/npm_test.py
@@ -18,5 +18,5 @@ class TestNpmDetector:
18
)
19
def test_analyze(self, payload, should_flag):
20
logic = NpmDetector()
21
- output = logic.analyze_line(payload, 1, 'mock_filename')
+ output = logic.analyze_line(filename='mock_filename', line=payload)
22
assert len(output) == int(should_flag)
0 commit comments