1
0
Fork 0
mirror of https://github.com/composer/composer synced 2025-05-10 17:12:51 +00:00

Add aliasing: foo as bar will require foo and automatically make it replace the bar version

This commit is contained in:
Jordi Boggiano 2012-02-21 14:03:24 +01:00
parent 5eb333680b
commit 82054f2060
5 changed files with 65 additions and 3 deletions

View file

@ -53,6 +53,7 @@ class VersionParserTest extends \PHPUnit_Framework_TestCase
'parses trunk' => array('dev-trunk', '9999999-dev'),
'parses arbitrary' => array('dev-feature-foo', 'dev-feature-foo'),
'parses arbitrary2' => array('DEV-FOOBAR', 'dev-foobar'),
'ignores aliases' => array('dev-master as 1.0.0', '9999999-dev'),
);
}