Skip to content

Commit 5ac4466

Browse files
committed
Minor improvements suggested by @wouterj
1 parent debbf98 commit 5ac4466

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

components/console/helpers/dialoghelper.rst

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -109,12 +109,9 @@ from the command line, you need to overwrite the HelperSet used by the command::
109109
use Symfony\Component\Console\Helper\HelperSet;
110110
111111
// ...
112-
113112
public function testExecute()
114113
{
115-
116-
// ..
117-
114+
// ...
118115
$commandTester = new CommandTester($command);
119116
120117
$dialog = new DialogHelper();
@@ -126,8 +123,7 @@ from the command line, you need to overwrite the HelperSet used by the command::
126123
127124
$commandTester->execute(array('command' => $command->getName()));
128125
129-
// assert
130-
126+
// $this->assertRegExp('/.../', $commandTester->getDisplay());
131127
}
132128
133129
protected function getInputStream($input)

0 commit comments

Comments
 (0)