merged branch jfsimon/fix-tests (PR #8618)

This PR was merged into the master branch.

Discussion
----------

[Console] fix tests

| Q             | A
| ------------- | ---
| Bug fix?      | no
| New feature?  | no
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes

Commits
-------

e4c1b30 [Console] fixed tests
This commit is contained in:
Fabien Potencier 2013-08-02 14:55:17 +02:00
commit aa0cc6bc17

View File

@ -126,9 +126,9 @@ class MarkdownDescriptor extends Descriptor
}
$this->write("\n\n");
$this->write(array_map(function ($commandName) {
$this->write(implode("\n", array_map(function ($commandName) {
return '* '.$commandName;
} , $namespace['commands']));
} , $namespace['commands'])));
}
foreach ($description->getCommands() as $command) {