mirror of
https://github.com/composer/composer
synced 2025-05-09 00:22:53 +00:00
Avoid storing duplicate packages when loading the same package twice
This commit is contained in:
parent
67a88880ec
commit
f2befc46c9
3 changed files with 10 additions and 14 deletions
|
@ -23,7 +23,7 @@ Tests if version constraint is expanded. If not, dep/dep 3.0.0 would not be load
|
|||
--EXPECT--
|
||||
[
|
||||
"root/req-1.0.0.0",
|
||||
"dep/dep-2.3.4.0",
|
||||
"dep/dep2-2.3.4.0",
|
||||
"dep/dep-2.3.4.0",
|
||||
"dep/dep-2.3.5.0"
|
||||
]
|
||||
|
|
|
@ -25,8 +25,8 @@ Tests if version constraint is expanded. If not, dep/dep 3.0.0 would not be load
|
|||
--EXPECT--
|
||||
[
|
||||
"root/req-1.0.0.0",
|
||||
"dep/dep2-2.3.4.0",
|
||||
"dep/dep-2.3.4.0",
|
||||
"dep/dep-2.3.5.0",
|
||||
"dep/dep2-2.3.4.0",
|
||||
"dep/dep-3.0.0.0"
|
||||
]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue