From 1971c32f6c3b41553cf55f92a66d4dce0fb9bbcd Mon Sep 17 00:00:00 2001 From: ydah Date: Tue, 24 Dec 2024 23:52:13 +0900 Subject: [PATCH] Remove unused method matcher for pending steps without reason --- lib/rubocop/cop/rspec/pending_without_reason.rb | 5 ----- 1 file changed, 5 deletions(-) diff --git a/lib/rubocop/cop/rspec/pending_without_reason.rb b/lib/rubocop/cop/rspec/pending_without_reason.rb index c710703a9..5f72bcd1f 100644 --- a/lib/rubocop/cop/rspec/pending_without_reason.rb +++ b/lib/rubocop/cop/rspec/pending_without_reason.rb @@ -94,11 +94,6 @@ class PendingWithoutReason < Base (send #rspec? ${#ExampleGroups.skipped} ...) PATTERN - # @!method pending_step_without_reason?(node) - def_node_matcher :pending_step_without_reason?, <<~PATTERN - (send nil? {:skip :pending}) - PATTERN - def on_send(node) on_pending_by_metadata(node) return unless (parent = parent_node(node))