Skip to content

Commit 35dc6be

Browse files
committed
test: fix command test
1 parent a8c626b commit 35dc6be

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

tests/Helper/OutputHelperTest.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ public static function tearDownAfterClass()
2727
public function test_show_arguments()
2828
{
2929
$this->newHelper()->showArgumentsHelp([
30-
new Argument('<path>'),
30+
new Argument('<path>', 'The path'),
3131
new Argument('[config:defaultConfig]'),
3232
], 'Arg Header', 'Arg Footer');
3333

@@ -36,7 +36,7 @@ public function test_show_arguments()
3636
'',
3737
'Arguments:',
3838
' [config] ',
39-
' <path> ',
39+
' <path> The path',
4040
'',
4141
'Arg Footer',
4242
], $this->output());
@@ -53,8 +53,8 @@ public function test_show_options()
5353
'Opt Header',
5454
'',
5555
'Options:',
56-
' <-n|--full-name> Full name',
57-
' [-h|--help] Show help',
56+
' <-n|--full-name> Full name',
57+
' [-h|--help] Show help',
5858
'',
5959
'Opt Footer',
6060
], $this->output());

0 commit comments

Comments
 (0)