json-normalizer icon indicating copy to clipboard operation
json-normalizer copied to clipboard

Handle case when lone wildcard is ORed with other constraints

Open fredden opened this issue 1 year ago • 1 comments

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.)

fredden avatar Oct 24 '24 23:10 fredden

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.

codecov[bot] avatar Oct 24 '24 23:10 codecov[bot]

Thank you, @fredden!

localheinz avatar Apr 10 '25 13:04 localheinz