summaryrefslogtreecommitdiff
path: root/test/reline
diff options
context:
space:
mode:
authormanga_osyo <manga.osyo@gmail.com>2019-07-15 03:08:36 +0900
committeraycabta <aycabta@gmail.com>2019-08-27 01:23:15 +0900
commitafed2668a6f6675536e967f053d7dec0b2026e2f (patch)
tree14b034424636738c82511a2944a636f6a581e2e1 /test/reline
parentf60e5a1f99088849fdc8ddfa84d594179c197a54 (diff)
Fix reference core method.
Diffstat (limited to 'test/reline')
-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