[前][次][番号順一覧][スレッド一覧]

ruby-changes:59564

From: MSP-Greg <ko1@a...>
Date: Tue, 31 Dec 2019 17:30:16 +0900 (JST)
Subject: [ruby-changes:59564] d912393e09 (master): text/readline/test_readline.rb - fix skip on Reline (#2743)

https://git.ruby-lang.org/ruby.git/commit/?id=d912393e09

From d912393e09da82d096cbd18a138a106637ef10b7 Mon Sep 17 00:00:00 2001
From: MSP-Greg <MSP-Greg@u...>
Date: Tue, 31 Dec 2019 02:29:58 -0600
Subject: text/readline/test_readline.rb - fix skip on Reline (#2743)

TestRelineAsReadline#test_input_metachar passes on MinGW

diff --git a/test/readline/test_readline.rb b/test/readline/test_readline.rb
index be9ac24..b77e3a0 100644
--- a/test/readline/test_readline.rb
+++ b/test/readline/test_readline.rb
@@ -433,7 +433,8 @@ module BasetestReadline https://github.com/ruby/ruby/blob/trunk/test/readline/test_readline.rb#L433
 
   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"
-- 
cgit v0.10.2


--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]