1
0
Fork 0
composer/tests/Composer/Test/DependencyResolver/Fixtures/pooloptimizer/basic-prefer-highest.test

55 lines
941 B
Plaintext
Raw Permalink Normal View History

2020-10-01 14:42:02 +00:00
--TEST--
Test filters irrelevant package "package/b" in version 1.0.0
--REQUEST--
{
"require": {
"package/a": "^1.0"
}
}
--POOL-BEFORE--
[
{
"name": "package/a",
"version": "1.0.0",
"require": {
"package/b": ">=1.0 <1.1 || ^1.2"
2020-10-01 14:42:02 +00:00
}
},
{
"name": "package/b",
"version": "1.0.0"
},
{
"name": "package/b",
"version": "1.0.1"
},
{
"name": "package/b",
"version": "1.2.0"
2020-10-01 14:42:02 +00:00
}
]
--POOL-AFTER--
[
{
"name": "package/a",
"version": "1.0.0",
"require": {
"package/b": "^1.0"
}
},
{
"name": "package/b",
"version": "1.0.1"
},
{
"name": "package/b",
"version": "1.2.0"
2020-10-01 14:42:02 +00:00
}
]