aboutsummaryrefslogtreecommitdiffstats
path: root/test/ruby/test_time.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/ruby/test_time.rb')
-rw-r--r--test/ruby/test_time.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/ruby/test_time.rb b/test/ruby/test_time.rb
index c7d4487553..5a2ad42491 100644
--- a/test/ruby/test_time.rb
+++ b/test/ruby/test_time.rb
@@ -411,7 +411,7 @@ class TestTime < Test::Unit::TestCase
end
def test_time_interval
- m = Mutex.new.lock
+ m = Thread::Mutex.new.lock
assert_nothing_raised {
Timeout.timeout(10) {
m.sleep(0)