Skip to content

Commit

Permalink
chore: apply PHP 8.4 to unit tests
Browse files Browse the repository at this point in the history
Signed-off-by: Maximilian Bösing <[email protected]>
  • Loading branch information
boesing committed Jan 17, 2025
1 parent e611f14 commit 5ecd265
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/config/app.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ describe('config/app', () => {
${'~8.1'} | ${[ '8.1' ]}
${'~8.1.0'} | ${[ '8.1' ]}
${'~8.1.12'} | ${[ '8.1' ]}
${'^8.0 || ~8.0.0 || ~8.1.12'} | ${[ '8.0', '8.1', '8.2', '8.3' ]}
${'^8.0 || ~8.0.0 || ~8.1.12'} | ${[ '8.0', '8.1', '8.2', '8.3', '8.4' ]}
${'<=8.1.0'} | ${[ '8.0', '8.1' ]}
`('for "$constraint" === $expected', ({constraint, expected}) => {
expect(gatherVersions({require: {php: constraint}})).toEqual(expected);
Expand Down

0 comments on commit 5ecd265

Please sign in to comment.