Added missing block argument

This commit is contained in:
Hiroshi SHIBATA 2025-08-05 12:13:27 +09:00
parent 015d874133
commit 06b14f29a3

View file

@ -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