mirror of
https://github.com/composer/composer
synced 2025-05-09 00:22:53 +00:00
Alias dev-master/trunk/default to 9999999-dev instead of normalizing the version to that, fixes #8323
This commit is contained in:
parent
97e2a249e8
commit
a7a975ec1c
21 changed files with 200 additions and 66 deletions
|
@ -160,6 +160,8 @@ class RootPackageLoaderTest extends TestCase
|
|||
$loader = new RootPackageLoader($manager, $config, null, new VersionGuesser($config, $executor, new VersionParser()));
|
||||
$package = $loader->load(array('require' => array('foo/bar' => 'self.version')));
|
||||
|
||||
$this->assertEquals("9999999-dev", $package->getPrettyVersion());
|
||||
$package = $package->getAliasOf();
|
||||
$this->assertEquals("dev-master", $package->getPrettyVersion());
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue