We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0854d64 commit 124be0aCopy full SHA for 124be0a
test/irb/test_history.rb
@@ -173,7 +173,7 @@ def test_history_does_not_raise_when_history_file_directory_does_not_exist
173
IRB.conf[:HISTORY_FILE] = "fake/fake/fake/history_file"
174
io = TestInputMethodWithRelineHistory.new
175
176
- assert_nothing_raised do
+ assert_warn(/history file does not exist/) do
177
io.save_history
178
end
179
ensure
0 commit comments