Merge pull request #22707 from yui-knk/fix_warning
Suppress warning ambiguous first argument
This commit is contained in:
commit
fb44e217ef
@ -509,7 +509,7 @@ def test_cache_hit_instrumentation
|
||||
|
||||
def test_cache_miss_instrumentation
|
||||
@events = []
|
||||
ActiveSupport::Notifications.subscribe /^cache_(.*)\.active_support$/ do |*args|
|
||||
ActiveSupport::Notifications.subscribe(/^cache_(.*)\.active_support$/) do |*args|
|
||||
@events << ActiveSupport::Notifications::Event.new(*args)
|
||||
end
|
||||
assert_not @cache.fetch("bad_key") {}
|
||||
|
Loading…
Reference in New Issue
Block a user