Skip to content

Commit

Permalink
Consume the warning for non-existent history path
Browse files Browse the repository at this point in the history
  • Loading branch information
nobu committed Feb 3, 2024
1 parent 0ab96ed commit 9a7e060
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/irb/test_history.rb
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ def test_history_does_not_raise_when_history_file_directory_does_not_exist
IRB.conf[:HISTORY_FILE] = "fake/fake/fake/history_file"
io = TestInputMethodWithRelineHistory.new

assert_nothing_raised do
assert_warn(/history file does not exist/) do
io.save_history
end
ensure
Expand Down

0 comments on commit 9a7e060

Please sign in to comment.