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)