Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
bug #29754 Ensure final input of CommandTester works with default (Fi…
…rehed) This PR was merged into the 3.4 branch. Discussion ---------- Ensure final input of CommandTester works with default | Q | A | ------------- | --- | Branch? | 4.x | Bug fix? | yes | New feature? | no | BC breaks? | no | Deprecations? | no | Tests pass? | yes | Fixed tickets | - | License | MIT | Doc PR | - If the final element of `CommandTester::setInputs()` is an empty string (to send the default value), the internal stream the tester uses hits EOF and triggers the `Aborted` exception. This appends an additional EOL to the stream after the `implode` to simulate one final return key, allowing the final input to use the default value when used in the tester's documented style. A test has been added to cover the new behavior, which failed before this change. Commits ------- 6b87b67 Ensure final input of CommandTester works with default
- Loading branch information