summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--test/reline/test_within_pipe.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/reline/test_within_pipe.rb b/test/reline/test_within_pipe.rb
index a4032748c4..11c3c0e86a 100644
--- a/test/reline/test_within_pipe.rb
+++ b/test/reline/test_within_pipe.rb
@@ -6,8 +6,8 @@ class Reline::WithinPipeTest < Reline::TestCase
@reader, @writer = IO.pipe((RELINE_TEST_ENCODING rescue Encoding.default_external))
Reline.input = @reader
@output = Reline.output = File.open(IO::NULL, 'w')
- @config = Reline.class_variable_get(:@@config)
- @line_editor = Reline.class_variable_get(:@@line_editor)
+ @config = Reline.send(:core).config
+ @line_editor = Reline.send(:core).line_editor
end
def teardown