mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Fix the missing locale error
This commit is contained in:
parent
1ad1f07306
commit
d6e84d97fe
Notes:
git
2022-09-21 14:26:04 +09:00
1 changed files with 1 additions and 0 deletions
|
@ -161,6 +161,7 @@ module TestIRB
|
||||||
def test_history_concurrent_use_not_present
|
def test_history_concurrent_use_not_present
|
||||||
backup_home = ENV["HOME"]
|
backup_home = ENV["HOME"]
|
||||||
backup_xdg_config_home = ENV.delete("XDG_CONFIG_HOME")
|
backup_xdg_config_home = ENV.delete("XDG_CONFIG_HOME")
|
||||||
|
IRB.conf[:LC_MESSAGES] = IRB::Locale.new
|
||||||
IRB.conf[:SAVE_HISTORY] = 1
|
IRB.conf[:SAVE_HISTORY] = 1
|
||||||
Dir.mktmpdir("test_irb_history_") do |tmpdir|
|
Dir.mktmpdir("test_irb_history_") do |tmpdir|
|
||||||
ENV["HOME"] = tmpdir
|
ENV["HOME"] = tmpdir
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue