1
0
Fork 0

Add test for fancy branch names, refs #935

pull/804/merge
Jordi Boggiano 2012-08-24 00:43:40 +02:00
parent 27d8904abe
commit 4b18be75d7
1 changed files with 2 additions and 2 deletions

View File

@ -64,7 +64,7 @@ class VcsRepositoryTest extends \PHPUnit_Framework_TestCase
$process->execute('git tag 0.6.0', $null); $process->execute('git tag 0.6.0', $null);
// add feature-a branch // 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'); file_put_contents('foo', 'bar feature');
$process->execute('git add foo', $null); $process->execute('git add foo', $null);
$process->execute('git commit -m change-a', $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.0.x-dev' => true,
'1.1.x-dev' => true, '1.1.x-dev' => true,
'dev-feature-b' => true, 'dev-feature-b' => true,
'dev-feature-a' => true, 'dev-feature/a-1.0-B' => true,
'dev-master' => true, 'dev-master' => true,
); );