summaryrefslogtreecommitdiff
path: root/test/readline/test_readline.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/readline/test_readline.rb')
-rw-r--r--test/readline/test_readline.rb4
1 files changed, 1 insertions, 3 deletions
diff --git a/test/readline/test_readline.rb b/test/readline/test_readline.rb
index ecee28e6712..0b0d66fa344 100644
--- a/test/readline/test_readline.rb
+++ b/test/readline/test_readline.rb
@@ -587,9 +587,7 @@ module BasetestReadline
Readline.input = r
Readline.output = null
Readline.completion_proc = ->(text) do
- ['abcde', 'abc12'].map { |i|
- i.encode(get_default_internal_encoding)
- }
+ ['abcde', 'abc12']
end
w.write("a\t\n")
w.flush