mirror of
https://github.com/composer/composer
synced 2025-05-10 17:12:51 +00:00
Add support for bumping >=x to >=latest, fixes #11179
This commit is contained in:
parent
7f9638f65a
commit
ef7ba73a6a
2 changed files with 13 additions and 3 deletions
|
@ -64,5 +64,7 @@ class VersionBumperTest extends TestCase
|
|||
yield 'leave patch wildcard alone' => ['2.4.3.*', '2.4.3.2', '2.4.3.*'];
|
||||
yield 'upgrade tilde to caret when compatible' => ['~2.2', '2.4.3', '^2.4.3'];
|
||||
yield 'leave patch-only-tilde alone' => ['~2.2.3', '2.2.6', '~2.2.3'];
|
||||
yield 'upgrade bigger-or-eq to latest' => ['>=3.0', '3.4.5', '>=3.4.5'];
|
||||
yield 'leave bigger-than untouched' => ['>2.2.3', '2.2.6', '>2.2.3'];
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue