diff options
author | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2020-02-06 09:14:40 +0900 |
---|---|---|
committer | Jeremy Evans <code@jeremyevans.net> | 2021-07-25 13:09:03 -0700 |
commit | 070557afc4ca83876b951fe090806b59e3867ae5 (patch) | |
tree | 9756aa96026efd552184011ad45c05f2027e19aa /test/monitor | |
parent | 8897098b5ca3ce987307d1799f7765e6a279ff0d (diff) | |
download | ruby-070557afc4ca83876b951fe090806b59e3867ae5.tar.gz |
Distinguish signal and timeout [Bug #16608]
Diffstat (limited to 'test/monitor')
-rw-r--r-- | test/monitor/test_monitor.rb | 2 |
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 |