lib/rubocop/cop/rspec/example_wording.rb in rubocop-rspec-1.32.0 vs lib/rubocop/cop/rspec/example_wording.rb in rubocop-rspec-1.33.0
- old
+ new
@@ -28,11 +28,11 @@
#
# # good
# it 'does things' do
# end
class ExampleWording < Cop
- MSG_SHOULD = 'Do not use should when describing your tests.'.freeze
- MSG_IT = "Do not repeat 'it' when describing your tests.".freeze
+ MSG_SHOULD = 'Do not use should when describing your tests.'
+ MSG_IT = "Do not repeat 'it' when describing your tests."
SHOULD_PREFIX = /\Ashould(?:n't)?\b/i.freeze
IT_PREFIX = /\Ait /i.freeze
def_node_matcher(