2020-04-30 15:22:15 +00:00
|
|
|
--TEST--
|
2020-04-30 16:26:20 +00:00
|
|
|
Tests if version constraint is expanded. If not, dep/dep 3.0.0 would not be loaded here.
|
2020-04-30 15:22:15 +00:00
|
|
|
|
|
|
|
--REQUEST--
|
|
|
|
{
|
|
|
|
"require": {
|
|
|
|
"root/req": "*"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
--FIXED--
|
|
|
|
[
|
|
|
|
]
|
|
|
|
|
|
|
|
--PACKAGES--
|
|
|
|
[
|
|
|
|
{"name": "root/req", "version": "1.0.0", "require": {"dep/dep": "2.*"}},
|
|
|
|
{"name": "dep/dep", "version": "2.3.4", "require": {"dep/dep2": "2.*"}},
|
|
|
|
{"name": "dep/dep", "version": "2.3.5"},
|
|
|
|
{"name": "dep/dep", "version": "3.0.0"},
|
|
|
|
{"name": "dep/dep", "version": "4.0.0"},
|
|
|
|
{"name": "dep/dep2", "version": "2.3.4", "require": {"dep/dep": "3.*"}}
|
|
|
|
]
|
|
|
|
|
|
|
|
--EXPECT--
|
|
|
|
[
|
|
|
|
"root/req-1.0.0.0",
|
|
|
|
"dep/dep-2.3.4.0",
|
|
|
|
"dep/dep-2.3.5.0",
|
2020-06-08 13:46:03 +00:00
|
|
|
"dep/dep2-2.3.4.0",
|
2020-04-30 15:22:15 +00:00
|
|
|
"dep/dep-3.0.0.0"
|
|
|
|
]
|