summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoraycabta <aycabta@gmail.com>2019-12-08 18:29:39 +0900
committeraycabta <aycabta@gmail.com>2019-12-08 18:29:39 +0900
commit0d63a2104777e467568a31037a6573e1879870c7 (patch)
tree6f5c11b35984c907bdbbebeaa4b773dbc546c92f
parentc38bc172bee99ff71440a1ebb4c38e6d092e0807 (diff)
Skip completion tests for Editline
-rw-r--r--test/readline/test_readline.rb3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/readline/test_readline.rb b/test/readline/test_readline.rb
index 3c1f74a0caa..ecee28e6712 100644
--- a/test/readline/test_readline.rb
+++ b/test/readline/test_readline.rb
@@ -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