From 06b14f29a34fe621696d6beae0c00486a6879539 Mon Sep 17 00:00:00 2001 From: Hiroshi SHIBATA Date: Tue, 5 Aug 2025 12:13:27 +0900 Subject: [PATCH] Added missing block argument --- tool/lib/core_assertions.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tool/lib/core_assertions.rb b/tool/lib/core_assertions.rb index 958306c0c5..00d180fa8c 100644 --- a/tool/lib/core_assertions.rb +++ b/tool/lib/core_assertions.rb @@ -696,7 +696,7 @@ eom end end - def assert_deprecated_warn(mesg = /deprecated/) + def assert_deprecated_warn(mesg = /deprecated/, &block) assert_warn(mesg) do EnvUtil.deprecation_warning(&block) end