Skip to content

Commit f6b06a9

Browse files
authored
Use proper locale in history encoding test (#1008)
1 parent 71f4d6b commit f6b06a9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/irb/test_history.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ def test_history_concurrent_use_not_present
149149
def test_history_different_encodings
150150
IRB.conf[:SAVE_HISTORY] = 2
151151
Encoding.default_external = Encoding::US_ASCII
152-
locale = IRB::Locale.new("C")
152+
locale = IRB::Locale.new("en_US.ASCII")
153153
assert_history(<<~EXPECTED_HISTORY.encode(Encoding::US_ASCII), <<~INITIAL_HISTORY.encode(Encoding::UTF_8), <<~INPUT, locale: locale)
154154
????
155155
exit

0 commit comments

Comments
 (0)