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

ruby-changes:43324

From: naruse <ko1@a...>
Date: Mon, 13 Jun 2016 21:46:49 +0900 (JST)
Subject: [ruby-changes:43324] naruse:r55398 (trunk): fix test of r55397

naruse	2016-06-13 21:46:44 +0900 (Mon, 13 Jun 2016)

  New Revision: 55398

  https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=55398

  Log:
    fix test of r55397

  Modified files:
    trunk/test/thread/test_cv.rb
Index: test/thread/test_cv.rb
===================================================================
--- test/thread/test_cv.rb	(revision 55397)
+++ test/thread/test_cv.rb	(revision 55398)
@@ -90,7 +90,7 @@ class TestConditionVariable < Test::Unit https://github.com/ruby/ruby/blob/trunk/test/thread/test_cv.rb#L90
   end
 
   def test_condvar_wait_deadlock
-    assert_in_out_err([], <<-INPUT, ["fatal", "No live threads left. Deadlock?"], [])
+    assert_in_out_err([], <<-INPUT, /\Afatal\nNo live threads left\. Deadlock/, [])
       require "thread"
 
       mutex = Mutex.new

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

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