[前][次][番号順一覧][スレッド一覧]

ruby-changes:73652

From: Hiroshi <ko1@a...>
Date: Wed, 21 Sep 2022 14:25:55 +0900 (JST)
Subject: [ruby-changes:73652] d6e84d97fe (master): Fix the missing locale error

https://git.ruby-lang.org/ruby.git/commit/?id=d6e84d97fe

From d6e84d97fee0eed62d0df20a144b11ec3c8240d4 Mon Sep 17 00:00:00 2001
From: Hiroshi SHIBATA <hsbt@r...>
Date: Wed, 21 Sep 2022 10:46:35 +0900
Subject: Fix the missing locale error

---
 test/irb/test_history.rb | 1 +
 1 file changed, 1 insertion(+)

diff --git a/test/irb/test_history.rb b/test/irb/test_history.rb
index 206970714a..8da86ca7a8 100644
--- a/test/irb/test_history.rb
+++ b/test/irb/test_history.rb
@@ -161,6 +161,7 @@ module TestIRB https://github.com/ruby/ruby/blob/trunk/test/irb/test_history.rb#L161
     def test_history_concurrent_use_not_present
       backup_home = ENV["HOME"]
       backup_xdg_config_home = ENV.delete("XDG_CONFIG_HOME")
+      IRB.conf[:LC_MESSAGES] = IRB::Locale.new
       IRB.conf[:SAVE_HISTORY] = 1
       Dir.mktmpdir("test_irb_history_") do |tmpdir|
         ENV["HOME"] = tmpdir
-- 
cgit v1.2.1


--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]