Skip to content
This repository has been archived by the owner on Jan 29, 2020. It is now read-only.

Use the console adapter to write instead of echo. #12

Closed
wants to merge 1 commit into from

Conversation

griffbrad
Copy link
Contributor

The Char prompt was just echoing directly rather than using the writeLine() method from the Console adapter. This was done correctly in the Select prompt already. Using echo can make testing more difficult because you can't mock the write away and instead of to do hacky things like using output buffering.

The Char prompt was just echoing directly rather than using the writeLine() method from the Console adapter.  This was done correctly in the Select prompt already.  Using echo can make testing more difficult because you can't mock the write away and instead of to do hacky things like using output buffering.
@weierophinney weierophinney added this to the 2.6.0 milestone Feb 8, 2016
@weierophinney weierophinney self-assigned this Feb 8, 2016
weierophinney added a commit that referenced this pull request Feb 8, 2016
Use the console adapter to write instead of echo.
weierophinney added a commit that referenced this pull request Feb 8, 2016
Also fixed some CS issues in the Char classfile
weierophinney added a commit that referenced this pull request Feb 8, 2016
weierophinney added a commit that referenced this pull request Feb 8, 2016
@weierophinney
Copy link
Member

Merged to develop for release with 2.6.0 (later today).

# for free to subscribe to this conversation on GitHub. Already have an account? #.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants