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

Wrap Stdio write in some tests and do a little cleanup. #8

Merged
merged 2 commits into from
May 17, 2011

Conversation

mattscilipoti
Copy link
Contributor

Here's another one. This doesn't (shouldn't?) change any functionality. Just adds some tests and a) refactors KidsRubyStdIo to make it testable and b) dries it up a little. I left the individual commits in both of these pull requests so you see the steps I took.

How's it look?

I can't do manual tests yet. Even though KidsRuby loads fine, I don't see any output.

Using dependency injection was the only way I could see to make write testable.
Interface defaults to InterfaceHelper.new.get_interface
kiafaldorius pushed a commit that referenced this pull request May 17, 2011
Wrap Stdio write in some tests and do a little cleanup.
@kiafaldorius kiafaldorius merged commit f0e8cd8 into hybridgroup:master May 17, 2011
@kiafaldorius
Copy link
Contributor

Merged. Thanks!

@ldenman
Copy link
Contributor

ldenman commented May 17, 2011

Woot! Nice commit!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants