Skip to content

Commit

Permalink
Update lib/rubocop/cop/rspec/example_wording.rb
Browse files Browse the repository at this point in the history
Co-authored-by: Benjamin Quorning <22333+bquorning@users.noreply.github.com>
  • Loading branch information
jdufresne and bquorning authored Dec 8, 2023
1 parent 6d44680 commit 5abd742
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/rubocop/cop/rspec/example_wording.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 5abd742

Please sign in to comment.