summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authoraycabta <aycabta@gmail.com>2019-12-12 03:18:44 +0900
committeraycabta <aycabta@gmail.com>2019-12-12 03:19:09 +0900
commit51cc5a26df5f47ecdd88398ba1a50a8e62182649 (patch)
tree7f4666b5c57a0f576461973160bab59b1797b8d5 /test
parentfe4502336680270d886b502e4b35ecb3de2f2164 (diff)
Some tests failed with before GNU Readline 6.0 on Windows
Diffstat (limited to 'test')
-rw-r--r--test/readline/test_readline.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/readline/test_readline.rb b/test/readline/test_readline.rb
index a6e37c0280..876d61ea0e 100644
--- a/test/readline/test_readline.rb
+++ b/test/readline/test_readline.rb
@@ -434,6 +434,7 @@ module BasetestReadline
def test_input_metachar
skip "Skip Editline" if /EditLine/n.match(Readline::VERSION)
skip("Won't pass on mingw w/readline 7.0.005 [ruby-core:45682]") if mingw?
+ skip 'Needs GNU Readline 6 or later' if windows? and kind_of?(TestReadline) and Readline::VERSION < '6.0'
bug6601 = '[ruby-core:45682]'
Readline::HISTORY << "hello"
wo = nil
@@ -682,6 +683,7 @@ module BasetestReadline
# http://rubyci.s3.amazonaws.com/solaris11s-sunc/ruby-trunk/log/20181228T102505Z.fail.html.gz
skip 'This test does not succeed on Oracle Developer Studio for now'
end
+ skip 'Needs GNU Readline 6 or later' if windows? and kind_of?(TestReadline) and Readline::VERSION < '6.0'
Readline.completion_proc = -> (_) { [] }
Readline.completer_quote_characters = "'\""