mirror of
https://github.com/composer/composer
synced 2025-05-09 00:22:53 +00:00
Use --tags to get non-annotated tags as well.
This commit is contained in:
parent
f9fe39e624
commit
215556df7c
2 changed files with 2 additions and 2 deletions
|
@ -69,7 +69,7 @@ class RootPackageLoaderTest extends \PHPUnit_Framework_TestCase
|
|||
|
||||
/* Can do away with this mock object when https://github.com/sebastianbergmann/phpunit-mock-objects/issues/81 is fixed */
|
||||
$processExecutor = new ProcessExecutorMock(function($command, &$output = null, $cwd = null) use ($self) {
|
||||
$self->assertEquals('git describe --exact-match', $command);
|
||||
$self->assertEquals('git describe --exact-match --tags', $command);
|
||||
|
||||
$output = "v2.0.5-alpha2";
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue