Skip to content

Commit

Permalink
Fix coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
zharinov committed May 17, 2023
1 parent 807d657 commit f02106e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/modules/versioning/maven/index.spec.ts
Expand Up @@ -112,12 +112,13 @@ describe('modules/versioning/maven/index', () => {
${'1'} | ${'(,1),(1,)'} | ${false}
${'1'} | ${'(0,1),(1,2)'} | ${false}
${'1.0.0.RC9.2'} | ${'(,1.0.0.RC9.2),(1.0.0.RC9.2,)'} | ${false}
${'1.0.0-RC14'} | ${'(,1.0.0.RC9.2),(1.0.0.RC9.2,)'} | ${true}
${'1.0.0.RC14'} | ${'(,1.0.0.RC9.2),(1.0.0.RC9.2,)'} | ${true}
${'0'} | ${''} | ${false}
${'1'} | ${'1'} | ${true}
${'1'} | ${'(1'} | ${false}
${'2.4.2'} | ${'2.4.2'} | ${true}
${'2.4.2'} | ${'= 2.4.2'} | ${false}
${'1.2.3'} | ${'[1,2],[3,4]'} | ${true}
`(
'matches("$version", "$range") === $expected',
({ version, range, expected }) => {
Expand Down

0 comments on commit f02106e

Please sign in to comment.