Skip to content

Commit efa9c6e

Browse files
committed
fix spec
1 parent ee511f2 commit efa9c6e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spec/concurrent/promises_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -498,7 +498,7 @@ def behaves_as_delay(delay, value)
498498
specify do
499499
max_tree = Concurrent::Throttle.new 3
500500
counter = Concurrent::AtomicFixnum.new
501-
testing = -> do
501+
testing = -> *args do
502502
counter.increment
503503
sleep 0.01
504504
# returns less then 3 since it's throttled

0 commit comments

Comments
 (0)