diff options
Diffstat (limited to 'spec/ruby/core/proc/fixtures/source_location.rb')
-rw-r--r-- | spec/ruby/core/proc/fixtures/source_location.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/ruby/core/proc/fixtures/source_location.rb b/spec/ruby/core/proc/fixtures/source_location.rb index 688dac1e22..5572094630 100644 --- a/spec/ruby/core/proc/fixtures/source_location.rb +++ b/spec/ruby/core/proc/fixtures/source_location.rb @@ -44,7 +44,7 @@ module ProcSpecs def self.my_detached_lambda body = -> { true } - lambda(&body) + suppress_warning {lambda(&body)} end def self.my_detached_proc_new |