From e285c76d02e0f191b6cee14d844af108eb9d632e Mon Sep 17 00:00:00 2001 From: Takuro Ashie Date: Wed, 15 Feb 2023 08:54:36 +0900 Subject: [PATCH] test_http_server_helper: Remove a needless argument Signed-off-by: Takuro Ashie --- test/plugin_helper/test_http_server_helper.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/plugin_helper/test_http_server_helper.rb b/test/plugin_helper/test_http_server_helper.rb index 3b978b847a..f2d2d1c9aa 100644 --- a/test/plugin_helper/test_http_server_helper.rb +++ b/test/plugin_helper/test_http_server_helper.rb @@ -132,7 +132,7 @@ def start_https_request(addr, port, verify: true, cert_path: nil, selfsigned: tr resp = nil error = nil - Async do |task| + Async do begin response = yield(client) rescue => e # Async::Reactor rescue all error. handle it by myself