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

ruby-changes:70555

From: aycabta <ko1@a...>
Date: Sat, 25 Dec 2021 00:22:56 +0900 (JST)
Subject: [ruby-changes:70555] a88169bbe9 (master): Wait for output results to test correctly

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

From a88169bbe94f3ee767ae59a3af3038987204b21e Mon Sep 17 00:00:00 2001
From: aycabta <aycabta@g...>
Date: Sat, 25 Dec 2021 00:20:11 +0900
Subject: Wait for output results to test correctly

---
 test/readline/test_readline.rb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/test/readline/test_readline.rb b/test/readline/test_readline.rb
index b99e2cf995e..a4c18902119 100644
--- a/test/readline/test_readline.rb
+++ b/test/readline/test_readline.rb
@@ -534,7 +534,7 @@ module BasetestReadline https://github.com/ruby/ruby/blob/trunk/test/readline/test_readline.rb#L534
         loop do
           c = _out.read(1)
           log << c if c
-          break if log.include?('input>')
+          break if log.include?('input> ')
         end
         log << "** SIGINT **"
         Process.kill(:INT, pid)
-- 
cgit v1.2.1


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

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