summaryrefslogtreecommitdiff
path: root/test/monitor/test_monitor.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/monitor/test_monitor.rb')
-rw-r--r--test/monitor/test_monitor.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/monitor/test_monitor.rb b/test/monitor/test_monitor.rb
index 3eceee7b2e..8ff6d006df 100644
--- a/test/monitor/test_monitor.rb
+++ b/test/monitor/test_monitor.rb
@@ -294,7 +294,7 @@ class TestMonitor < Test::Unit::TestCase
@monitor.synchronize do
assert_equal("foo", c)
result3 = cond.wait(0.1)
- assert_equal(true, result3) # wait always returns true in Ruby 1.9
+ assert_equal(false, result3)
assert_equal("foo", c)
queue3.enq(nil)
result4 = cond.wait