summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--test/irb/test_history.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/irb/test_history.rb b/test/irb/test_history.rb
index 2c762ae466..e6448ada37 100644
--- a/test/irb/test_history.rb
+++ b/test/irb/test_history.rb
@@ -173,7 +173,7 @@ module TestIRB
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