lib/rubocop/cop/style/implicit_runtime_error.rb in rubocop-0.68.1 vs lib/rubocop/cop/style/implicit_runtime_error.rb in rubocop-0.69.0
- old
+ new
@@ -14,10 +14,10 @@
#
# # good
# raise ArgumentError, 'Error message here'
class ImplicitRuntimeError < Cop
MSG = 'Use `%<method>s` with an explicit exception class and message,' \
- ' rather than just a message.'.freeze
+ ' rather than just a message.'
def_node_matcher :implicit_runtime_error_raise_or_fail,
'(send nil? ${:raise :fail} {str dstr})'
def on_send(node)