mirror of
https://github.com/composer/composer
synced 2025-05-09 00:22:53 +00:00
Revert "Merge pull request #9273 from nicolas-grekas/dev-version"
This reverts commitd2d606ced2
, reversing changes made to4a8dbcd145
.
This commit is contained in:
parent
2cb9630320
commit
079e501ac8
6 changed files with 4 additions and 72 deletions
|
@ -201,28 +201,4 @@ class RootPackageLoaderTest extends TestCase
|
|||
|
||||
$this->assertEquals("dev-latest-production", $package->getPrettyVersion());
|
||||
}
|
||||
|
||||
/**
|
||||
* @dataProvider provideExtraBranchVersion
|
||||
*/
|
||||
public function testLoadExtraBranchVersion($branchVersion)
|
||||
{
|
||||
$package = $this->loadPackage(array(
|
||||
'extra' => array(
|
||||
'branch-version' => $branchVersion,
|
||||
),
|
||||
));
|
||||
|
||||
$this->assertEquals('1.2.x-dev', $package->getPrettyVersion());
|
||||
}
|
||||
|
||||
public function provideExtraBranchVersion()
|
||||
{
|
||||
return array(
|
||||
array('1.2'),
|
||||
array('1.2.x'),
|
||||
array('1.2-dev'),
|
||||
array('1.2.x-dev'),
|
||||
);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue