aboutcode-org / aboutcode-org/scancode-toolkit
Add match details to license detection tests
Đang mở
- Ngôn ngữ chính
- Python
- Star
- 2.6k
- Fork
- 791
- Merge trung bình
- 1 ngày 12 giờ
- Pull request đã merge (30 ngày)
- 5
Mô tả
It would help reviewing updated tests results if we were to include the match details in the expected license tests data structure in https://github.com/nexB/scancode-toolkit/blob/develop/src/licensedcode_test_utils.py
The updated tests should IMHO include:
- the start and end line
- the matcher
- the "diagnostics" matched text
and should not include rule was matched
The approach should be to regenerate all expected tests once with no other change and then use this afterwards.
Hướng dẫn đóng góp
Đánh giá
Issue này chưa được đánh giá.