Skip to content

Commit a89b5e5

Browse files
authored
Merge pull request #4311 from aboutcode-org/fix-test-failure
Update test_detect.py
2 parents ff88b06 + c1bf82e commit a89b5e5

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tests/licensedcode/test_detect.py

+3-3
Original file line numberDiff line numberDiff line change
@@ -1074,9 +1074,9 @@ def test_match_has_correct_line_positions_in_automake_perl_file(self):
10741074
# looks acceptable below. Most cases just need to fix the test.
10751075
expected = [
10761076
# detected, match.lines(), match.qspan,
1077-
('gpl-2.0-plus', (12, 25), Span(48, 157)),
1078-
('fsf-unlimited-no-warranty', (231, 238), Span(965, 1028)),
1079-
('warranty-disclaimer', (306, 307), Span(1337, 1359)),
1077+
('gpl-2.0-plus', (12, 25), Span(51, 160)),
1078+
('fsf-unlimited-no-warranty', (231, 238), Span(978, 1041)),
1079+
('warranty-disclaimer', (306, 307), Span(1351, 1373)),
10801080
]
10811081
self.check_position('positions/automake.pl', expected)
10821082

0 commit comments

Comments
 (0)