diff options
| author | tomoya ishida <tomoyapenguin@gmail.com> | 2024-09-24 23:07:43 +0900 |
|---|---|---|
| committer | git <svn-admin@ruby-lang.org> | 2024-09-24 14:07:47 +0000 |
| commit | 07842491c539bf5d0abe29d63380ee5aaf121934 (patch) | |
| tree | fb89aab27f5c1ef7be845f9a8cde135ccb1d9cae | |
| parent | 2a0ee408afeeae0f1a0d354ac36c400a361f6767 (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.rb | 2 |
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 |
