Skip to content

Commit d4e81be

Browse files
committed
minor #19580 [Console][Testing] Correct what appears to be intended behavior vs actual behavior in documentation (tomegantcs)
This PR was squashed before being merged into the 6.4 branch. Discussion ---------- [Console][Testing] Correct what appears to be intended behavior vs actual behavior in documentation This continues #17559 because the original PR had some conflicts that I cannot fix while merging. I cherry-picked the original commits, so the contribution will go to the original author. Thanks! Commits ------- 2d2a1ce [Console][Testing] Correct what appears to be intended behavior vs actual behavior in documentation
2 parents 9db76e2 + 2d2a1ce commit d4e81be

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

console.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -565,11 +565,11 @@ call ``setAutoExit(false)`` on it to get the command result in ``CommandTester``
565565

566566
.. caution::
567567

568-
When testing ``InputOption::VALUE_NONE`` command options, you must pass an
569-
empty value to them::
568+
When testing ``InputOption::VALUE_NONE`` command options, you must pass ``true``
569+
to them::
570570

571571
$commandTester = new CommandTester($command);
572-
$commandTester->execute(['--some-option' => '']);
572+
$commandTester->execute(['--some-option' => true]);
573573

574574
.. note::
575575

0 commit comments

Comments
 (0)