summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortomoya ishida <tomoyapenguin@gmail.com>2024-09-24 23:07:43 +0900
committergit <svn-admin@ruby-lang.org>2024-09-24 14:07:47 +0000
commit07842491c539bf5d0abe29d63380ee5aaf121934 (patch)
treefb89aab27f5c1ef7be845f9a8cde135ccb1d9cae
parent2a0ee408afeeae0f1a0d354ac36c400a361f6767 (diff)
[ruby/irb] Use proper locale in history encoding test
(https://github.com/ruby/irb/pull/1008) https://github.com/ruby/irb/commit/f6b06a9a40
-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 84f0438929..7a17491d89 100644
--- a/test/irb/test_history.rb
+++ b/test/irb/test_history.rb
@@ -149,7 +149,7 @@ module TestIRB
def test_history_different_encodings
IRB.conf[:SAVE_HISTORY] = 2
Encoding.default_external = Encoding::US_ASCII
- locale = IRB::Locale.new("C")
+ locale = IRB::Locale.new("en_US.ASCII")
assert_history(<<~EXPECTED_HISTORY.encode(Encoding::US_ASCII), <<~INITIAL_HISTORY.encode(Encoding::UTF_8), <<~INPUT, locale: locale)
????
exit