lib/rubocop/cop/rspec/example_length.rb in rubocop-rspec-1.32.0 vs lib/rubocop/cop/rspec/example_length.rb in rubocop-rspec-1.33.0
- old
+ new
@@ -26,10 +26,10 @@
# expect(result).to be(true)
# end
class ExampleLength < Cop
include CodeLength
- MSG = 'Example has too many lines [%<total>d/%<max>d].'.freeze
+ MSG = 'Example has too many lines [%<total>d/%<max>d].'
def on_block(node)
return unless example?(node)
length = code_length(node)