json-normalizer
json-normalizer copied to clipboard
Handle case when lone wildcard is ORed with other constraints
While working on another feature, I noticed that a constraint like * || 1.2.3 wasn't being normalised to just * as expected. This pull request fixes this oversight.
While working on this change, I noticed that a constraint like *, 1.2.3 isn't normalised to 1.2.3. Let's deal with this in a separate step. (It's late here and I'm tired.)
Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:
Project coverage is 97.33%. Comparing base (
993e575) to head (8592895). Report is 2 commits behind head on main.
Additional details and impacted files
@@ Coverage Diff @@
## main #1186 +/- ##
=========================================
Coverage 97.32% 97.33%
- Complexity 209 210 +1
=========================================
Files 32 32
Lines 861 863 +2
=========================================
+ Hits 838 840 +2
Misses 23 23
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
:rocket: New features to boost your workflow:
- :snowflake: Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
Thank you, @fredden!