Skip to content

Commit 4298481

Browse files
committed
Align test expectation witrh latest rules
Signed-off-by: Philippe Ombredanne <pombredanne@nexb.com>
1 parent 66096d2 commit 4298481

1 file changed

Lines changed: 8 additions & 21 deletions

File tree

tests/packagedcode/data/debian/copyright/debian-slim-2021-04-07/usr/share/doc/libpcre3/copyright-detailed.expected.yml

Lines changed: 8 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
primary_license:
22
declared_license:
3-
license_expression: pcre AND bsd-new AND bsd-new AND bsd-new
3+
license_expression: pcre AND bsd-new AND bsd-new
44
copyright: |
55
Copyright (c) 1997-2007 University of Cambridge
66
Copyright (c) 2007, Google Inc.
@@ -40,38 +40,25 @@ matches:
4040
PCRE is distributed under the terms of the "BSD" licence, as
4141
specified below. The documentation for PCRE, supplied in the "doc"
4242
directory, is distributed under the same terms as the software itself.
43-
- score: '99.0'
44-
start_line: 44
45-
end_line: 44
46-
matcher: 2-aho
47-
rule_length: 3
48-
matched_length: 3
49-
match_coverage: '100.0'
50-
rule_relevance: 99
51-
identifier: bsd-new_898.RULE
52-
license_expression: bsd-new
53-
is_license_text: no
54-
is_license_notice: no
55-
is_license_reference: yes
56-
is_license_tag: no
57-
is_license_intro: no
58-
matched_text: THE "BSD" LICENCE
5943
- score: '100.0'
60-
start_line: 47
44+
start_line: 44
6145
end_line: 72
6246
matcher: 2-aho
63-
rule_length: 220
64-
matched_length: 220
47+
rule_length: 223
48+
matched_length: 223
6549
match_coverage: '100.0'
6650
rule_relevance: 100
67-
identifier: bsd-new_899.RULE
51+
identifier: bsd-new_1105.RULE
6852
license_expression: bsd-new
6953
is_license_text: yes
7054
is_license_notice: no
7155
is_license_reference: no
7256
is_license_tag: no
7357
is_license_intro: no
7458
matched_text: |
59+
THE "BSD" LICENCE
60+
-----------------
61+
7562
Redistribution and use in source and binary forms, with or without
7663
modification, are permitted provided that the following conditions are met:
7764

0 commit comments

Comments
 (0)