1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

[ruby/readline-ext] Omit Editline on without tty test

https://github.com/ruby/readline-ext/commit/a2835ce957
This commit is contained in:
aycabta 2021-09-03 01:20:40 +09:00
parent f3fe3511da
commit b4efa37d98

View file

@ -811,6 +811,7 @@ module BasetestReadline
end
def test_without_tty
omit "Skip Editline" if /EditLine/n.match(Readline::VERSION)
loader = nil
if defined?(TestReadline) && self.class == TestReadline
loader = "use_ext_readline"