Skip to content

Commit e3fc9c9

Browse files
committed
Correct license test expectation
Some rules now have a "is_required_phrase" flag Signed-off-by: Philippe Ombredanne <pombredanne@nexb.com>
1 parent 6eff903 commit e3fc9c9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/licensedcode/data/additional_licenses/additional_license_combined_test.expected.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -270,7 +270,7 @@
270270
"is_license_tag": true,
271271
"is_license_intro": false,
272272
"is_license_clue": false,
273-
"is_required_phrase": false,
273+
"is_required_phrase": true,
274274
"skip_for_required_phrase_generation": false,
275275
"is_continuous": false,
276276
"is_builtin": true,
@@ -286,7 +286,7 @@
286286
"ignorable_authors": [],
287287
"ignorable_urls": [],
288288
"ignorable_emails": [],
289-
"text": "license: Apache-2.0"
289+
"text": "license=\"Apache-2.0"
290290
},
291291
{
292292
"license_expression": "example-installed-1",

0 commit comments

Comments
 (0)