Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ensure final input of CommandTester works with default #29754

Merged
merged 1 commit into from Jan 4, 2019

Commits on Jan 4, 2019

  1. Ensure final input of CommandTester works with default

    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.
    Firehed authored and Robin Chalas committed Jan 4, 2019
    Copy the full SHA
    6b87b67 View commit details
    Browse the repository at this point in the history