Skip to content

Commit 7516775

Browse files
committed
add test file where extra word is present
here `3-seq` as a matcher, her we got extra-words Signed-off-by: Alok Kumar <[email protected]>
1 parent 7db4779 commit 7516775

File tree

5 files changed

+549
-214
lines changed

5 files changed

+549
-214
lines changed

src/licensedcode/detection.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1734,7 +1734,7 @@ def analyze_detection(license_matches, package_license=False):
17341734
):
17351735
return DetectionCategory.LICENSE_CLUES.value
17361736

1737-
# Case where all matches have `matcher` as `1-hash` or `4-spdx-id`
1737+
# Case where all matches have `matcher` as `1-hash` or `4-spdx-id` or 2-aho
17381738
elif is_correct_detection_non_unknown(license_matches=license_matches):
17391739
return DetectionCategory.PERFECT_DETECTION.value
17401740

99.9 KB
Binary file not shown.

0 commit comments

Comments
 (0)