mirror of
https://github.com/ruby/ruby.git
synced 2026-01-26 20:19:19 +00:00
Added missing block argument
This commit is contained in:
parent
015d874133
commit
06b14f29a3
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user