ruby / irb

interactive Ruby
BSD 2-Clause "Simplified" License
393 stars 119 forks source link

Prevent `irb_history`'s creation during HistoryTest #893

Closed st0012 closed 8 months ago

st0012 commented 8 months ago

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 commented 8 months ago

Merging this first to fix Ruby CI failures.