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

Skip completion tests for Editline

This commit is contained in:
aycabta 2019-12-08 18:29:39 +09:00
parent c38bc172be
commit 0d63a21047

View file

@ -579,6 +579,7 @@ module BasetestReadline
end
def test_simple_completion
skip "Skip Editline" if /EditLine/n.match(Readline::VERSION)
line = nil
open(IO::NULL, 'w') do |null|
@ -600,6 +601,7 @@ module BasetestReadline
end
def test_completion_with_completion_append_character
skip "Skip Editline" if /EditLine/n.match(Readline::VERSION)
skip "Reline doesn't still implement it" if defined?(Reline) and Readline == Reline
line = nil
@ -620,6 +622,7 @@ module BasetestReadline
assert_equal('abcde!', line)
ensure
return if /EditLine/n.match(Readline::VERSION)
return if defined?(Reline) and Readline == Reline
Readline.completion_append_character = append_character
end