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

Add execute_lines to reduce command tests' boilerplate code #436

Merged
merged 1 commit into from
Nov 8, 2022

Conversation

st0012
Copy link
Member

@st0012 st0012 commented Nov 8, 2022

Right now we have a lot of repeated setup for command tests. I think we can hide them from contributors with a helper.

(Tested against ruby/ruby with make test-all -j8 TESTS=../test/irb/ TESTOPTS="--no-retry")

Copy link
Member

@k0kubun k0kubun left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

😍

@k0kubun k0kubun merged commit 1595337 into ruby:master Nov 8, 2022
@st0012 st0012 deleted the refactor-command-tests branch November 8, 2022 23:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants