mirror of
https://github.com/composer/composer
synced 2025-05-09 16:42:57 +00:00
Add test for fancy branch names, refs #935
This commit is contained in:
parent
27d8904abe
commit
4b18be75d7
1 changed files with 2 additions and 2 deletions
|
@ -64,7 +64,7 @@ class VcsRepositoryTest extends \PHPUnit_Framework_TestCase
|
|||
$process->execute('git tag 0.6.0', $null);
|
||||
|
||||
// add feature-a branch
|
||||
$process->execute('git checkout -b feature-a', $null);
|
||||
$process->execute('git checkout -b feature/a-1.0-B', $null);
|
||||
file_put_contents('foo', 'bar feature');
|
||||
$process->execute('git add foo', $null);
|
||||
$process->execute('git commit -m change-a', $null);
|
||||
|
@ -127,7 +127,7 @@ class VcsRepositoryTest extends \PHPUnit_Framework_TestCase
|
|||
'1.0.x-dev' => true,
|
||||
'1.1.x-dev' => true,
|
||||
'dev-feature-b' => true,
|
||||
'dev-feature-a' => true,
|
||||
'dev-feature/a-1.0-B' => true,
|
||||
'dev-master' => true,
|
||||
);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue