1
0
Fork 0
mirror of https://github.com/composer/composer synced 2025-05-10 00:53:06 +00:00

Merge branch '1.10'

This commit is contained in:
Jordi Boggiano 2020-10-13 14:47:23 +02:00
commit bafdf9f705
No known key found for this signature in database
GPG key ID: 7BBD42C429EC80BC
7 changed files with 67 additions and 4 deletions

View file

@ -201,4 +201,15 @@ class RootPackageLoaderTest extends TestCase
$this->assertEquals("dev-latest-production", $package->getPrettyVersion());
}
public function testLoadExtraBranchVersion()
{
$package = $this->loadPackage(array(
'extra' => array(
'branch-version' => '1.2',
),
));
$this->assertEquals('1.2.x-dev', $package->getPrettyVersion());
}
}