Skip to content

Commit 06b14f2

Browse files
committed
Added missing block argument
1 parent 015d874 commit 06b14f2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tool/lib/core_assertions.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -696,7 +696,7 @@ def assert_deprecated_warning(mesg = /deprecated/, &block)
696696
end
697697
end
698698

699-
def assert_deprecated_warn(mesg = /deprecated/)
699+
def assert_deprecated_warn(mesg = /deprecated/, &block)
700700
assert_warn(mesg) do
701701
EnvUtil.deprecation_warning(&block)
702702
end

0 commit comments

Comments
 (0)