lib/rubocop/cop/rspec/be_empty.rb in rubocop-rspec-2.26.1 vs lib/rubocop/cop/rspec/be_empty.rb in rubocop-rspec-2.27.0
- old
+ new
@@ -26,9 +26,10 @@
#Runners.all
${
(send nil? :match_array (array))
(send nil? :contain_exactly)
}
+ _?
)
PATTERN
def on_send(node)
expect_array_matcher?(node.parent) do |expect|