diff options
Diffstat (limited to 'rubocop/cop/qa/element_with_pattern.rb')
-rw-r--r-- | rubocop/cop/qa/element_with_pattern.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/rubocop/cop/qa/element_with_pattern.rb b/rubocop/cop/qa/element_with_pattern.rb index d48f4725488..d0a42497960 100644 --- a/rubocop/cop/qa/element_with_pattern.rb +++ b/rubocop/cop/qa/element_with_pattern.rb @@ -19,7 +19,7 @@ module RuboCop class ElementWithPattern < RuboCop::Cop::Cop include QAHelpers - MESSAGE = "Don't use a pattern for element, create a corresponding `%s` instead.".freeze + MESSAGE = "Don't use a pattern for element, create a corresponding `%s` instead." def on_send(node) return unless in_qa_file?(node) |