ruby-changes:59112
From: aycabta <ko1@a...>
Date: Sun, 8 Dec 2019 18:30:04 +0900 (JST)
Subject: [ruby-changes:59112] 0d63a21047 (master): Skip completion tests for Editline
https://git.ruby-lang.org/ruby.git/commit/?id=0d63a21047 From 0d63a2104777e467568a31037a6573e1879870c7 Mon Sep 17 00:00:00 2001 From: aycabta <aycabta@g...> Date: Sun, 8 Dec 2019 18:29:39 +0900 Subject: Skip completion tests for Editline diff --git a/test/readline/test_readline.rb b/test/readline/test_readline.rb index 3c1f74a..ecee28e 100644 --- a/test/readline/test_readline.rb +++ b/test/readline/test_readline.rb @@ -579,6 +579,7 @@ module BasetestReadline https://github.com/ruby/ruby/blob/trunk/test/readline/test_readline.rb#L579 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 https://github.com/ruby/ruby/blob/trunk/test/readline/test_readline.rb#L601 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 https://github.com/ruby/ruby/blob/trunk/test/readline/test_readline.rb#L622 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 -- cgit v0.10.2 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/