lib/rubocop/cop/rspec/void_expect.rb in rubocop-rspec-1.32.0 vs lib/rubocop/cop/rspec/void_expect.rb in rubocop-rspec-1.33.0
- old
+ new
@@ -11,10 +11,10 @@
#
# # good
# expect(something).to be(1)
class VoidExpect < Cop
MSG = 'Do not use `expect()` without `.to` or `.not_to`. ' \
- 'Chain the methods or remove it.'.freeze
+ 'Chain the methods or remove it.'
def_node_matcher :expect?, <<-PATTERN
(send nil? :expect ...)
PATTERN