From 83ce27b140ca55c702d070796132308218d1f494 Mon Sep 17 00:00:00 2001 From: Jon Rowe Date: Mon, 2 Sep 2024 12:13:06 +0100 Subject: [PATCH] Tweak warning docs --- lib/rspec/core/configuration.rb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/rspec/core/configuration.rb b/lib/rspec/core/configuration.rb index cef3e813a..06aea65ab 100644 --- a/lib/rspec/core/configuration.rb +++ b/lib/rspec/core/configuration.rb @@ -1764,8 +1764,9 @@ def warnings? # @private RAISE_ERROR_WARNING_NOTIFIER = lambda { |message| raise message } - # Turns warnings into errors. This can be useful when + # Turns RSpec warnings into errors. This can be useful when # you want RSpec to run in a 'strict' no warning situation. + # (Note this does not capture or raise on Ruby warnings). # # @example #