We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1afbeab commit 5854716Copy full SHA for 5854716
tests/licensedcode/test_match.py
@@ -1702,6 +1702,9 @@ def test_matched_text_is_collected_correctly_end2end(self):
1702
idx = LicenseIndex(rules)
1703
1704
results = [match.matched_text(_usecache=False) for match in idx.match(location=query_location)]
1705
+
1706
+ # Expected may be surprising, but we are not testing matching quality, only matched text
1707
+ # and we are using a small limited index with only three rules
1708
expected = [
1709
'This source code is licensed under both the Apache 2.0 license '
1710
'(found in the\n# LICENSE',
0 commit comments