mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Some tests failed with before GNU Readline 6.0 on Windows
This commit is contained in:
parent
fe45023366
commit
51cc5a26df
1 changed files with 2 additions and 0 deletions
|
@ -434,6 +434,7 @@ module BasetestReadline
|
||||||
def test_input_metachar
|
def test_input_metachar
|
||||||
skip "Skip Editline" if /EditLine/n.match(Readline::VERSION)
|
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("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]'
|
bug6601 = '[ruby-core:45682]'
|
||||||
Readline::HISTORY << "hello"
|
Readline::HISTORY << "hello"
|
||||||
wo = nil
|
wo = nil
|
||||||
|
@ -682,6 +683,7 @@ module BasetestReadline
|
||||||
# http://rubyci.s3.amazonaws.com/solaris11s-sunc/ruby-trunk/log/20181228T102505Z.fail.html.gz
|
# 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'
|
skip 'This test does not succeed on Oracle Developer Studio for now'
|
||||||
end
|
end
|
||||||
|
skip 'Needs GNU Readline 6 or later' if windows? and kind_of?(TestReadline) and Readline::VERSION < '6.0'
|
||||||
|
|
||||||
Readline.completion_proc = -> (_) { [] }
|
Readline.completion_proc = -> (_) { [] }
|
||||||
Readline.completer_quote_characters = "'\""
|
Readline.completer_quote_characters = "'\""
|
||||||
|
|
Loading…
Reference in a new issue