summaryrefslogtreecommitdiff
path: root/test/thread
diff options
context:
space:
mode:
Diffstat (limited to 'test/thread')
-rw-r--r--test/thread/test_cv.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/thread/test_cv.rb b/test/thread/test_cv.rb
index 53c7d279b4..51afb0b08e 100644
--- a/test/thread/test_cv.rb
+++ b/test/thread/test_cv.rb
@@ -90,7 +90,7 @@ class TestConditionVariable < Test::Unit::TestCase
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