mirror of
https://github.com/ruby/ruby.git
synced 2025-08-15 13:39:04 +02:00
Added missing block argument
This commit is contained in:
parent
015d874133
commit
06b14f29a3
1 changed files with 1 additions and 1 deletions
|
@ -696,7 +696,7 @@ eom
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
def assert_deprecated_warn(mesg = /deprecated/)
|
def assert_deprecated_warn(mesg = /deprecated/, &block)
|
||||||
assert_warn(mesg) do
|
assert_warn(mesg) do
|
||||||
EnvUtil.deprecation_warning(&block)
|
EnvUtil.deprecation_warning(&block)
|
||||||
end
|
end
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue