summaryrefslogtreecommitdiff
path: root/test/webrick
diff options
context:
space:
mode:
Diffstat (limited to 'test/webrick')
-rw-r--r--test/webrick/utils.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/webrick/utils.rb b/test/webrick/utils.rb
index f1e6e4b0273..ba03156145f 100644
--- a/test/webrick/utils.rb
+++ b/test/webrick/utils.rb
@@ -23,7 +23,7 @@ module TestWEBrick
begin
thread = Thread.start{ server.start }
addr = server.listeners[0].addr
- block.call([server, addr[3], addr[1]])
+ block.yield([server, addr[3], addr[1]])
ensure
server.stop
thread.join