From e6d93a27afa058319e6dad093bbef637e49fce47 Mon Sep 17 00:00:00 2001 From: Benoit Daloze Date: Mon, 29 Nov 2021 15:50:26 +0100 Subject: Update to ruby/mspec@098b320 --- spec/mspec/lib/mspec/utils/warnings.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'spec/mspec/lib') diff --git a/spec/mspec/lib/mspec/utils/warnings.rb b/spec/mspec/lib/mspec/utils/warnings.rb index c770d609f3..0d3d36fada 100644 --- a/spec/mspec/lib/mspec/utils/warnings.rb +++ b/spec/mspec/lib/mspec/utils/warnings.rb @@ -10,7 +10,7 @@ if Object.const_defined?(:Warning) and Warning.respond_to?(:[]=) end if Object.const_defined?(:Warning) and Warning.respond_to?(:warn) - def Warning.warn(message) + def Warning.warn(message, category: nil) # Suppress any warning inside the method to prevent recursion verbose = $VERBOSE $VERBOSE = nil -- cgit v1.2.3