Created
February 12, 2015 20:07
-
-
Save bestform/ee0f866bbc958d197e4b to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--TEST-- | |
The locked version will not get overwritten by an install | |
--COMPOSER-- | |
{ | |
"repositories": [ | |
{ | |
"type": "package", | |
"package": [ | |
{ "name": "foo/bar", "version": "1.0.0" }, | |
{ "name": "foo/baz", "version": "1.0.0" }, | |
{ "name": "foo/baz", "version": "2.0.0" } | |
] | |
} | |
], | |
"require": { | |
"foo/bar": "2.0.0", | |
"foo/baz": "2.0.0" | |
} | |
} | |
--LOCK-- | |
{ | |
"packages": [ | |
{ "name": "foo/bar", "version": "1.0.0" }, | |
{ "name": "foo/baz", "version": "2.0.0" } | |
], | |
"packages-dev": null, | |
"aliases": [], | |
"minimum-stability": "stable", | |
"stability-flags": [], | |
"prefer-stable": false, | |
"prefer-lowest": false | |
} | |
--INSTALLED-- | |
[ | |
{ "name": "foo/bar", "version": "1.0.0" }, | |
{ "name": "foo/baz", "version": "1.0.0" } | |
] | |
--RUN-- | |
install | |
--EXPECT-- | |
Installing foo/baz (2.0.0) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment