aboutsummaryrefslogtreecommitdiffstats
path: root/ci/custom_cops
diff options
context:
space:
mode:
Diffstat (limited to 'ci/custom_cops')
-rw-r--r--ci/custom_cops/lib/custom_cops/assert_not.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/ci/custom_cops/lib/custom_cops/assert_not.rb b/ci/custom_cops/lib/custom_cops/assert_not.rb
index e722448e21..8b49d3eac2 100644
--- a/ci/custom_cops/lib/custom_cops/assert_not.rb
+++ b/ci/custom_cops/lib/custom_cops/assert_not.rb
@@ -14,7 +14,7 @@ module CustomCops
class AssertNot < RuboCop::Cop::Cop
MSG = "Prefer `assert_not` over `assert !`"
- def_node_matcher :offensive?, "(send nil? :assert (send ... :!))"
+ def_node_matcher :offensive?, "(send nil? :assert (send ... :!) ...)"
def on_send(node)
add_offense(node) if offensive?(node)