summaryrefslogtreecommitdiff
path: root/test/thread/test_cv.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/thread/test_cv.rb')
-rw-r--r--test/thread/test_cv.rb3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/thread/test_cv.rb b/test/thread/test_cv.rb
index 51afb0b08e..6779cb37ef 100644
--- a/test/thread/test_cv.rb
+++ b/test/thread/test_cv.rb
@@ -4,6 +4,9 @@ require 'thread'
require 'tmpdir'
class TestConditionVariable < Test::Unit::TestCase
+ ConditionVariable = Thread::ConditionVariable
+ Mutex = Thread::Mutex
+
def test_initialized
assert_raise(TypeError) {
ConditionVariable.allocate.wait(nil)