summaryrefslogtreecommitdiff
path: root/test/fiber/scheduler.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/fiber/scheduler.rb')
-rw-r--r--test/fiber/scheduler.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/fiber/scheduler.rb b/test/fiber/scheduler.rb
index 8a8585f..0461cfb 100644
--- a/test/fiber/scheduler.rb
+++ b/test/fiber/scheduler.rb
@@ -129,7 +129,7 @@ class Scheduler
Process.clock_gettime(Process::CLOCK_MONOTONIC)
end
- def timeout_raise(duration, klass, message, &block)
+ def timeout_after(duration, klass, message, &block)
fiber = Fiber.current
self.fiber do