Skip to content

Commit

Permalink
text/readline/test_readline.rb - fix skip on Reline (#2743)
Browse files Browse the repository at this point in the history
TestRelineAsReadline#test_input_metachar passes on MinGW
  • Loading branch information
MSP-Greg authored and k0kubun committed Dec 31, 2019
1 parent 56a7465 commit d912393
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion test/readline/test_readline.rb
Expand Up @@ -433,7 +433,8 @@ def test_modify_text_in_pre_input_hook

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?
# test will pass on Windows reline, but not readline
skip "Won't pass on mingw readline.so using 8.0.001" if mingw? and defined?(TestReadline) and kind_of?(TestReadline)
skip 'Needs GNU Readline 6 or later' if windows? and defined?(TestReadline) and kind_of?(TestReadline) and Readline::VERSION < '6.0'
bug6601 = '[ruby-core:45682]'
Readline::HISTORY << "hello"
Expand Down

0 comments on commit d912393

Please sign in to comment.