1
0
Fork 0

Added another poolbuilder test to show issue with constraint matching

pull/8850/head
Yanick Witschi 2020-05-01 19:57:18 +02:00 committed by Jordi Boggiano
parent 71fde80048
commit 8b4e834675
No known key found for this signature in database
GPG Key ID: 7BBD42C429EC80BC
1 changed files with 29 additions and 0 deletions

View File

@ -0,0 +1,29 @@
--TEST--
Tests if version constraint is expanded. If not, dep/dep 3.0.0 would not be loaded here.
--REQUEST--
{
"require": {
"root/req": "*"
}
}
--FIXED--
[
]
--PACKAGES--
[
{"name": "root/req", "version": "1.0.0", "require": {"dep/dep": "2.3.4"}},
{"name": "dep/dep", "version": "2.3.4", "require": {"dep/dep2": "2.*"}},
{"name": "dep/dep", "version": "2.3.5"},
{"name": "dep/dep2", "version": "2.3.4", "require": {"dep/dep": "2.*"}}
]
--EXPECT--
[
"root/req-1.0.0.0",
"dep/dep-2.3.4.0",
"dep/dep2-2.3.4.0",
"dep/dep-2.3.5.0"
]