Permalink
Browse files

Minor improvements suggested by @WouterJ

  • Loading branch information...
Sgoettschkes committed Mar 30, 2013
1 parent debbf98 commit 5ac4466d2f196196f1ff9efb66083620f4ded90f
Showing with 2 additions and 6 deletions.
  1. +2 −6 components/console/helpers/dialoghelper.rst
@@ -109,12 +109,9 @@ from the command line, you need to overwrite the HelperSet used by the command::
use Symfony\Component\Console\Helper\HelperSet;
// ...
-
public function testExecute()
{
-
- // ..
-
+ // ...
$commandTester = new CommandTester($command);
$dialog = new DialogHelper();
@@ -126,8 +123,7 @@ from the command line, you need to overwrite the HelperSet used by the command::
$commandTester->execute(array('command' => $command->getName()));
- // assert
-
+ // $this->assertRegExp('/.../', $commandTester->getDisplay());
}
protected function getInputStream($input)

0 comments on commit 5ac4466

Please sign in to comment.