diff --git a/test/reline/test_line_editor.rb b/test/reline/test_line_editor.rb index cc4dc6d29a..3ed3fa956f 100644 --- a/test/reline/test_line_editor.rb +++ b/test/reline/test_line_editor.rb @@ -8,7 +8,7 @@ class CompletionBlockTest < Reline::TestCase def setup @original_quote_characters = Reline.completer_quote_characters @original_word_break_characters = Reline.completer_word_break_characters - @line_editor = Reline::LineEditor.new(nil, Encoding::UTF_8) + @line_editor = Reline::LineEditor.new(nil) end def retrieve_completion_block(lines, line_index, byte_pointer)