From 5abd742a0a46cc692e554b818642c3b55d0e5436 Mon Sep 17 00:00:00 2001 From: Jon Dufresne Date: Fri, 8 Dec 2023 07:19:44 -0800 Subject: [PATCH] Update lib/rubocop/cop/rspec/example_wording.rb Co-authored-by: Benjamin Quorning <22333+bquorning@users.noreply.github.com> --- lib/rubocop/cop/rspec/example_wording.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/rubocop/cop/rspec/example_wording.rb b/lib/rubocop/cop/rspec/example_wording.rb index 1b7ff2e03..65b2d1918 100644 --- a/lib/rubocop/cop/rspec/example_wording.rb +++ b/lib/rubocop/cop/rspec/example_wording.rb @@ -56,7 +56,7 @@ class ExampleWording < Base 'insufficient.' SHOULD_PREFIX = /\Ashould(?:n't)?\b/i.freeze - WILL_PREFIX = /\Aw(?:ill|on't)\b/i.freeze + WILL_PREFIX = /\A(?:will|won't)\b/i.freeze IT_PREFIX = /\Ait /i.freeze # @!method it_description(node)