summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoraycabta <aycabta@gmail.com>2019-12-09 14:21:05 +0900
committeraycabta <aycabta@gmail.com>2019-12-09 14:21:20 +0900
commit07664f3aec1b80f6ffe3929258c9a246f0bdcc48 (patch)
treeaac1f2dc836d6fbc3cb328b349dd0f47d1d114e1
parenta14c01441b12552386c69233b0bcc53d06ed0b92 (diff)
Remove workaround encoding modification
-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