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

Prevent irb_history's creation during HistoryTest #893

Merged
merged 1 commit into from
Mar 6, 2024

Conversation

st0012
Copy link
Member

@st0012 st0012 commented Mar 6, 2024

Some cases of it currently create ~/.irb_history files unintentionally while others don't. This is caused by the varying levels of setup/cleanup between them. This commit fixes the issue by wrapping every single test inside a consistent test setup and teardown callbacks.

Some cases of it currently create `~/.irb_history` files unintentionally
while others don't. This is caused by the varying levels of setup/cleanup between
them. This commit fixes the issue by wrapping every single test inside a
consistent test setup and teardown callbacks.
@st0012 st0012 requested a review from tompng March 6, 2024 03:44
@st0012
Copy link
Member Author

st0012 commented Mar 6, 2024

Merging this first to fix Ruby CI failures.

@st0012 st0012 merged commit a2a3cbb into master Mar 6, 2024
57 checks passed
@st0012 st0012 deleted the fix-history-tests branch March 6, 2024 04:12
matzbot pushed a commit to ruby/ruby that referenced this pull request Mar 6, 2024
(ruby/irb#893)

Some cases of it currently create `~/.irb_history` files unintentionally
while others don't. This is caused by the varying levels of setup/cleanup between
them. This commit fixes the issue by wrapping every single test inside a
consistent test setup and teardown callbacks.

ruby/irb@a2a3cbb0ef
@nobu nobu mentioned this pull request Mar 6, 2024
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.

1 participant