1
0
Fork 0
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:
Jordi Boggiano 2020-06-05 17:13:39 +02:00
parent 67a88880ec
commit f2befc46c9
No known key found for this signature in database
GPG key ID: 7BBD42C429EC80BC
3 changed files with 10 additions and 14 deletions

View file

@ -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"
]

View file

@ -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"
]