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

Simplify info command's tests #440

Merged
merged 1 commit into from
Nov 11, 2022
Merged

Conversation

st0012
Copy link
Member

@st0012 st0012 commented Nov 11, 2022

Currently the info command is tested via directly calling the method, so it requires a different test setup. But if we test it via direct execution like other commands, we can reuse the helpers we have and reduce boilerplate code.

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

@k0kubun k0kubun merged commit 5942949 into ruby:master Nov 11, 2022
matzbot pushed a commit to ruby/ruby that referenced this pull request Nov 11, 2022
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.

2 participants