We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dfc2982 commit 9f12399Copy full SHA for 9f12399
console/input.rst
@@ -397,8 +397,10 @@ to help you unit test the completion logic::
397
$this->assertSame(['Fabien', 'Fabrice', 'Wouter'], $suggestions);
398
399
// complete the input with "Fa" as input
400
+ // note that the list does not reduce because the completion tester doesn't run any shell,
401
+ // it only tests the PHP part of the completion logic, so it should always include all values
402
$suggestions = $tester->complete(['Fa']);
- $this->assertSame(['Fabien', 'Fabrice'], $suggestions);
403
+ $this->assertSame(['Fabien', 'Fabrice', 'Wouter'], $suggestions);
404
}
405
406
0 commit comments