1
0
Fork 0
mirror of https://github.com/composer/composer synced 2025-05-09 00:22:53 +00:00

Fix parsing of openssl versions with odd suffixes, refs #10631

This commit is contained in:
Jordi Boggiano 2022-03-30 18:09:40 +02:00
parent bf01905663
commit 146e036b58
No known key found for this signature in database
GPG key ID: 7BBD42C429EC80BC
2 changed files with 2 additions and 1 deletions

View file

@ -62,6 +62,7 @@ class VersionTest extends TestCase
// Additional cases
array('1.2.3zh-fips-rc3', '1.2.3.34-rc3', true, '1.2.3.34-RC3'),
array('1.2.3zh-alpha10-fips', '1.2.3.34-alpha10', true),
array('1.1.1l (Schannel)', '1.1.1.12'),
// Check that alphabetical patch levels overflow correctly
array('1.2.3', '1.2.3.0'),
array('1.2.3a', '1.2.3.1'),