1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00
ruby--ruby/test/irb
Jeremy Evans 9299db49f5 [ruby/irb] Fix history file saving with concurrent irb sessions when history file doesn't exist
If history file didn't exist when irb was started, @loaded_history_mtime
would be nil.  However, if the history file didn't exist before, but it
exists when saving history, that means the history file was modified,
and we should handle it the same way as we handle the other case where
the history file was modified.

Fixes #388

https://github.com/ruby/irb/commit/8d277aafcb
2022-09-14 10:15:45 +09:00
..
yamatanooroti
test_cmd.rb [ruby/irb] Remove unnecessary space in regexp 2021-12-20 16:19:37 +09:00
test_color.rb
test_color_printer.rb
test_completion.rb
test_context.rb [ruby/irb] Properly reset USE_COLORIZE after changing it in tests 2022-06-29 00:23:18 +09:00
test_history.rb [ruby/irb] Fix history file saving with concurrent irb sessions when history file doesn't exist 2022-09-14 10:15:45 +09:00
test_init.rb
test_option.rb
test_raise_no_backtrace_exception.rb
test_ruby_lex.rb [ruby/irb] Examine indentation of in keyword when trying to type include 2021-12-03 00:56:43 +09:00
test_workspace.rb